org.kuali.rice.krms.dto
Class PropositionEditor
java.lang.Object
org.kuali.rice.krms.dto.PropositionEditor
- All Implemented Interfaces:
- Serializable, Identifiable, Versioned, PropositionDefinitionContract
- Direct Known Subclasses:
- EnrolPropositionEditor
public class PropositionEditor
- extends Object
- implements PropositionDefinitionContract, Serializable
Created with IntelliJ IDEA.
User: SW
Date: 2012/12/03
Time: 11:41 AM
To change this template use File | Settings | File Templates.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropositionEditor
public PropositionEditor()
PropositionEditor
public PropositionEditor(PropositionDefinitionContract definition)
- Converts a immutable object to it's mutable bo counterpart
- Parameters:
definition
- immutable object
getKey
public String getKey()
setKey
public void setKey(String key)
getId
public String getId()
- Specified by:
getId
in interface Identifiable
getDescription
public String getDescription()
- Specified by:
getDescription
in interface PropositionDefinitionContract
getCompoundOpCode
public String getCompoundOpCode()
- Specified by:
getCompoundOpCode
in interface PropositionDefinitionContract
setId
public void setId(String id)
setDescription
public void setDescription(String description)
setRuleId
public void setRuleId(String ruleId)
setCompoundOpCode
public void setCompoundOpCode(String compoundOpCode)
setParameters
public void setParameters(List<PropositionParameterEditor> parameters)
setCompoundEditors
public void setCompoundEditors(List<PropositionEditor> compoundEditors)
getCompoundEditors
public List<PropositionEditor> getCompoundEditors()
getCompoundComponents
public List<? extends PropositionDefinitionContract> getCompoundComponents()
- Specified by:
getCompoundComponents
in interface PropositionDefinitionContract
getParameters
public List<PropositionParameterEditor> getParameters()
- Specified by:
getParameters
in interface PropositionDefinitionContract
getTypeId
public String getTypeId()
- Specified by:
getTypeId
in interface PropositionDefinitionContract
getRuleId
public String getRuleId()
- Specified by:
getRuleId
in interface PropositionDefinitionContract
setPropositionTypeCode
public void setPropositionTypeCode(String propositionTypeCode)
getPropositionTypeCode
public String getPropositionTypeCode()
- Specified by:
getPropositionTypeCode
in interface PropositionDefinitionContract
setTypeId
public void setTypeId(String typeId)
getType
public String getType()
setType
public void setType(String type)
isEditMode
public boolean isEditMode()
getTerm
public TermEditor getTerm()
setTerm
public void setTerm(TermEditor term)
getTermParameter
public String getTermParameter()
setTermParameter
public void setTermParameter(String termParameter)
getTermParameterList
public List<TermParameter> getTermParameterList()
setTermParameterList
public void setTermParameterList(List<TermParameter> termParameterList)
setEditMode
public void setEditMode(boolean editMode)
getVersionNumber
public Long getVersionNumber()
- Specified by:
getVersionNumber
in interface Versioned
createPropositionEditor
protected PropositionEditor createPropositionEditor(PropositionDefinitionContract definition)
getNewTermDescription
public String getNewTermDescription()
isNewProp
public boolean isNewProp()
setNewProp
public void setNewProp(boolean newProp)
getNaturalLanguage
public Map<String,String> getNaturalLanguage()
setNaturalLanguage
public void setNaturalLanguage(Map<String,String> naturalLanguage)
getNlParameters
public Map<String,String> getNlParameters()
getNaturalLanguageForUsage
public String getNaturalLanguageForUsage(String usage)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.