public class PropositionEditor extends Object implements org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract, Serializable
Constructor and Description |
---|
PropositionEditor() |
PropositionEditor(org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract definition)
Converts a immutable object to it's mutable bo counterpart
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected PropositionEditor |
createPropositionEditor(org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract definition) |
String |
getBindingPath() |
List<? extends org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract> |
getCompoundComponents() |
List<PropositionEditor> |
getCompoundEditors() |
String |
getCompoundOpCode() |
Integer |
getCompoundSequenceNumber() |
protected String |
getDefaultNlKey() |
String |
getDescription() |
String |
getId() |
String |
getKey() |
Map<String,String> |
getNaturalLanguage() |
String |
getNaturalLanguageForUsage(String usage)
Return the natural language description for the given usage key from the natural language map.
|
String |
getNewTermDescription() |
Map<String,String> |
getNlParameters()
Override this method to return a method of custom parameters to be used in the natural
language context implementation.
|
List<PropositionParameterEditor> |
getParameters() |
String |
getPropositionTypeCode() |
String |
getRuleId() |
TermEditor |
getTerm() |
String |
getTermParameter() |
List<org.kuali.rice.krms.impl.ui.TermParameter> |
getTermParameterList() |
String |
getType() |
String |
getTypeId() |
Long |
getVersionNumber() |
boolean |
isEditMode() |
boolean |
isNewProp() |
void |
setBindingPath(String bindingPath) |
void |
setCompoundEditors(List<PropositionEditor> compoundEditors) |
void |
setCompoundOpCode(String compoundOpCode) |
void |
setDescription(String description) |
void |
setEditMode(boolean editMode) |
void |
setId(String id) |
void |
setKey(String key) |
void |
setNaturalLanguage(Map<String,String> naturalLanguage) |
void |
setNaturalLanguageForUsage(String usage,
String nl)
Set the natuaral language string on the map with the usage as key.
|
void |
setNewProp(boolean newProp) |
void |
setParameters(List<PropositionParameterEditor> parameters) |
void |
setPropositionTypeCode(String propositionTypeCode) |
void |
setRuleId(String ruleId) |
void |
setTerm(TermEditor term) |
void |
setTermParameter(String termParameter) |
void |
setTermParameterList(List<org.kuali.rice.krms.impl.ui.TermParameter> termParameterList) |
void |
setType(String type) |
void |
setTypeId(String typeId) |
void |
setVersionNumber(Long versionNumber) |
public PropositionEditor()
public PropositionEditor(org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract definition)
definition
- immutable objectpublic void clear()
public String getId()
getId
in interface org.kuali.rice.core.api.mo.common.Identifiable
public String getDescription()
getDescription
in interface org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract
public String getCompoundOpCode()
getCompoundOpCode
in interface org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract
public Integer getCompoundSequenceNumber()
getCompoundSequenceNumber
in interface org.kuali.rice.krms.api.repository.proposition.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 org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract> getCompoundComponents()
getCompoundComponents
in interface org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract
public void setVersionNumber(Long versionNumber)
public List<PropositionParameterEditor> getParameters()
getParameters
in interface org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract
public String getTypeId()
getTypeId
in interface org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract
public String getRuleId()
getRuleId
in interface org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract
public void setPropositionTypeCode(String propositionTypeCode)
public String getPropositionTypeCode()
getPropositionTypeCode
in interface org.kuali.rice.krms.api.repository.proposition.PropositionDefinitionContract
public boolean isEditMode()
public TermEditor getTerm()
public void setTerm(TermEditor term)
public String getTermParameter()
public void setTermParameter(String termParameter)
public List<org.kuali.rice.krms.impl.ui.TermParameter> getTermParameterList()
public void setTermParameterList(List<org.kuali.rice.krms.impl.ui.TermParameter> termParameterList)
public void setEditMode(boolean editMode)
public Long getVersionNumber()
getVersionNumber
in interface org.kuali.rice.core.api.mo.common.Versioned
protected PropositionEditor createPropositionEditor(org.kuali.rice.krms.api.repository.proposition.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-2013 The Kuali Foundation. All Rights Reserved.