org.kuali.student.core.statement.dto
Class AbstractStatementInfo

java.lang.Object
  extended by org.kuali.student.core.statement.dto.AbstractStatementInfo
All Implemented Interfaces:
Serializable, HasAttributes, HasTypeState, Idable
Direct Known Subclasses:
StatementInfo, StatementTreeViewInfo

public abstract class AbstractStatementInfo
extends Object
implements Serializable, Idable, HasTypeState, HasAttributes

Detailed information about a single LU statement.

See Also:
Serialized Form

Field Summary
private  Map<String,String> attributes
           
private  RichTextInfo desc
           
private  String id
           
private  MetaInfo metaInfo
           
private  String name
           
private  StatementOperatorTypeKey operator
           
private static long serialVersionUID
           
private  String state
           
private  String type
           
 
Constructor Summary
AbstractStatementInfo()
           
 
Method Summary
 Map<String,String> getAttributes()
          List of key/value pairs, typically used for dynamic attributes.
 RichTextInfo getDesc()
          Narrative description for the LU statement.
 String getId()
          Unique identifier for a single LU statement record.
 MetaInfo getMetaInfo()
          Create and last update info for the structure.
 String getName()
          Friendly name for the LU statement.
 StatementOperatorTypeKey getOperator()
          Logical operator used to assemble statements.
 String getState()
          The current status of the statement.
 String getType()
          Unique identifier for an LU statement type.
 void setAttributes(Map<String,String> attributes)
           
 void setDesc(RichTextInfo desc)
           
 void setId(String id)
           
 void setMetaInfo(MetaInfo metaInfo)
           
 void setName(String name)
           
 void setOperator(StatementOperatorTypeKey operator)
           
 void setState(String state)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

name

private String name

desc

private RichTextInfo desc

operator

private StatementOperatorTypeKey operator

attributes

private Map<String,String> attributes

metaInfo

private MetaInfo metaInfo

type

private String type

state

private String state

id

private String id
Constructor Detail

AbstractStatementInfo

public AbstractStatementInfo()
Method Detail

getName

public String getName()
Friendly name for the LU statement.


setName

public void setName(String name)

getDesc

public RichTextInfo getDesc()
Narrative description for the LU statement.


setDesc

public void setDesc(RichTextInfo desc)

getOperator

public StatementOperatorTypeKey getOperator()
Logical operator used to assemble statements. Acceptable values are restricted to AND and OR. This operator applies to both the LU statements and requirement components contained within this statement.


setOperator

public void setOperator(StatementOperatorTypeKey operator)

getAttributes

public Map<String,String> getAttributes()
List of key/value pairs, typically used for dynamic attributes.

Specified by:
getAttributes in interface HasAttributes

setAttributes

public void setAttributes(Map<String,String> attributes)
Specified by:
setAttributes in interface HasAttributes

getMetaInfo

public MetaInfo getMetaInfo()
Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations.


setMetaInfo

public void setMetaInfo(MetaInfo metaInfo)

getType

public String getType()
Unique identifier for an LU statement type.

Specified by:
getType in interface HasTypeState

setType

public void setType(String type)
Specified by:
setType in interface HasTypeState

getState

public String getState()
The current status of the statement. The values for this field are constrained to those in the StatementState enumeration. A separate setup operation does not exist for retrieval of the meta data around this value.

Specified by:
getState in interface HasTypeState

setState

public void setState(String state)
Specified by:
setState in interface HasTypeState

getId

public String getId()
Unique identifier for a single LU statement record. This is optional, due to the identifier being set at the time of creation. Once the LU statement has been created, this should be seen as required.

Specified by:
getId in interface Idable

setId

public void setId(String id)
Specified by:
setId in interface Idable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.