public class PropositionEditor extends Object implements PropositionDefinitionContract, Serializable
Constructor and Description |
---|
PropositionEditor() |
PropositionEditor(PropositionDefinitionContract definition)
Converts a immutable object to it's mutable bo counterpart
|
public PropositionEditor()
public PropositionEditor(PropositionDefinitionContract definition)
definition
- immutable objectpublic void clear()
public String getId()
getId
in interface Identifiable
public String getDescription()
getDescription
in interface PropositionDefinitionContract
public String getCompoundOpCode()
getCompoundOpCode
in interface PropositionDefinitionContract
public Integer getCompoundSequenceNumber()
getCompoundSequenceNumber
in interface PropositionDefinitionContract
public void setDescription(String description)
public void setCompoundOpCode(String compoundOpCode)
public void setParameters(List<PropositionParameterEditor> parameters)
public void setCompoundEditors(List<PropositionEditor> compoundEditors)
public List<PropositionEditor> getCompoundEditors()
public List<? extends PropositionDefinitionContract> getCompoundComponents()
getCompoundComponents
in interface PropositionDefinitionContract
public void setVersionNumber(Long versionNumber)
public List<PropositionParameterEditor> getParameters()
getParameters
in interface PropositionDefinitionContract
public String getTypeId()
getTypeId
in interface PropositionDefinitionContract
public String getRuleId()
getRuleId
in interface PropositionDefinitionContract
public void setPropositionTypeCode(String propositionTypeCode)
public String getPropositionTypeCode()
getPropositionTypeCode
in interface PropositionDefinitionContract
public boolean isEditMode()
public TermEditor getTerm()
public void setTerm(TermEditor term)
public String getTermParameter()
public void setTermParameter(String termParameter)
public List<TermParameter> getTermParameterList()
public void setTermParameterList(List<TermParameter> termParameterList)
public void setEditMode(boolean editMode)
public Long getVersionNumber()
getVersionNumber
in interface Versioned
protected PropositionEditor createPropositionEditor(PropositionDefinitionContract definition)
public String getNewTermDescription()
public boolean isNewProp()
public void setNewProp(boolean newProp)
public Map<String,String> getNaturalLanguage()
public void setNaturalLanguage(Map<String,String> naturalLanguage)
public String getNaturalLanguageForUsage(String usage)
usage
- public void setNaturalLanguageForUsage(String usage, String nl)
usage
- nl
- public Map<String,String> getNlParameters()
public String getBindingPath()
public void setBindingPath(String bindingPath)
protected String getDefaultNlKey()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.