org.kuali.rice.krms.dto
Class PropositionEditor

java.lang.Object
  extended by 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

Constructor Summary
PropositionEditor()
           
PropositionEditor(PropositionDefinitionContract definition)
          Converts a immutable object to it's mutable bo counterpart
 
Method Summary
protected  PropositionEditor createPropositionEditor(PropositionDefinitionContract definition)
           
 List<? extends PropositionDefinitionContract> getCompoundComponents()
           
 List<PropositionEditor> getCompoundEditors()
           
 String getCompoundOpCode()
           
 String getDescription()
           
 String getId()
           
 String getKey()
           
 Map<String,String> getNaturalLanguage()
           
 String getNaturalLanguageForUsage(String usage)
           
 String getNewTermDescription()
           
 Map<String,String> getNlParameters()
           
 List<PropositionParameterEditor> getParameters()
           
 String getPropositionTypeCode()
           
 String getRuleId()
           
 TermEditor getTerm()
           
 String getTermParameter()
           
 List<TermParameter> getTermParameterList()
           
 String getType()
           
 String getTypeId()
           
 Long getVersionNumber()
           
 boolean isEditMode()
           
 boolean isNewProp()
           
 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 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<TermParameter> termParameterList)
           
 void setType(String type)
           
 void setTypeId(String typeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropositionEditor

public PropositionEditor()

PropositionEditor

public PropositionEditor(PropositionDefinitionContract definition)
Converts a immutable object to it's mutable bo counterpart

Parameters:
definition - immutable object
Method Detail

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.