org.opencrx.kernel.code1.jpa3
Class CodeValueEntry

java.lang.Object
  extended by org.w3c.jpa3.AbstractObject
      extended by org.opencrx.kernel.code1.jpa3.AbstractEntry
          extended by org.opencrx.kernel.code1.jpa3.CodeValueEntry
All Implemented Interfaces:
Serializable, SecureObject, AbstractEntry, CodeValueEntry, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class CodeValueEntry
extends AbstractEntry
implements CodeValueEntry

Class CodeValueEntry

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.AbstractStateAccessor, org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.ObjectState, org.w3c.jpa3.AbstractObject.SlicedList<E,S>, org.w3c.jpa3.AbstractObject.SlicedMap<E,S>, org.w3c.jpa3.AbstractObject.SlicedSet<E,S>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.code1.cci2.AbstractEntry
AbstractEntry.Identity
 
Field Summary
 
Fields inherited from class org.opencrx.kernel.code1.jpa3.AbstractEntry
createdAt, identity, modifiedAt
 
Constructor Summary
CodeValueEntry()
          Constructor
 
Method Summary
 String getBackColor()
          Retrieves the possibly null value for the optional attribute backColor.
 String getColor()
          Retrieves the possibly null value for the optional attribute color.
 String getFontWeight()
          Retrieves the possibly null value for the optional attribute fontWeight.
 String getIconKey()
          Retrieves the possibly null value for the optional attribute iconKey.
 List<String> getLongText()
          Retrieves a list containing all the elements for the attribute longText.
 List<String> getShortText()
          Retrieves a list containing all the elements for the attribute shortText.
 void setBackColor(String backColor)
          Sets a new value for the attribute backColor.
 void setColor(String color)
          Sets a new value for the attribute color.
 void setFontWeight(String fontWeight)
          Sets a new value for the attribute fontWeight.
 void setIconKey(String iconKey)
          Sets a new value for the attribute iconKey.
 void setLongText(String... longText)
          Clears longText and adds the given value(s).
 void setShortText(String... shortText)
          Clears shortText and adds the given value(s).
 
Methods inherited from class org.opencrx.kernel.code1.jpa3.AbstractEntry
addOwningGroup, checkPermissions, getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getEntryValue, getIdentity, getModifiedAt, getModifiedBy, getOpenmdxjdoIdentity, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getValidFrom, getValidTo, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setEntryValue, setOpenmdxjdoIdentity, setOwner, setOwningUser_Id, setOwningUser, setOwningUser, setValidFrom, setValidTo, setValueContainer_Id, setValueContainer
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.code1.cci2.AbstractEntry
getEntryValue, getValidFrom, getValidTo, setEntryValue, setValidFrom, setValidTo
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Constructor Detail

CodeValueEntry

public CodeValueEntry()
Constructor

Method Detail

getBackColor

public final String getBackColor()
Retrieves the possibly null value for the optional attribute backColor.

Specified by:
getBackColor in interface CodeValueEntry
Returns:
The possibly null value for attribute backColor.

setBackColor

public void setBackColor(String backColor)
Sets a new value for the attribute backColor.

Specified by:
setBackColor in interface CodeValueEntry
Parameters:
backColor - The possibly null new value for attribute backColor.

getFontWeight

public final String getFontWeight()
Retrieves the possibly null value for the optional attribute fontWeight.

Specified by:
getFontWeight in interface CodeValueEntry
Returns:
The possibly null value for attribute fontWeight.

setFontWeight

public void setFontWeight(String fontWeight)
Sets a new value for the attribute fontWeight.

Specified by:
setFontWeight in interface CodeValueEntry
Parameters:
fontWeight - The possibly null new value for attribute fontWeight.

getColor

public final String getColor()
Retrieves the possibly null value for the optional attribute color.

Specified by:
getColor in interface CodeValueEntry
Returns:
The possibly null value for attribute color.

setColor

public void setColor(String color)
Sets a new value for the attribute color.

Specified by:
setColor in interface CodeValueEntry
Parameters:
color - The possibly null new value for attribute color.

getShortText

public List<String> getShortText()
Retrieves a list containing all the elements for the attribute shortText.

Specified by:
getShortText in interface CodeValueEntry
Returns:
A list containing all elements for this attribute.

setShortText

public void setShortText(String... shortText)
Clears shortText and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setShortText in interface CodeValueEntry
Parameters:
shortText - value(s) to be added to shortText

getLongText

public List<String> getLongText()
Retrieves a list containing all the elements for the attribute longText.

Specified by:
getLongText in interface CodeValueEntry
Returns:
A list containing all elements for this attribute.

setLongText

public void setLongText(String... longText)
Clears longText and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setLongText in interface CodeValueEntry
Parameters:
longText - value(s) to be added to longText

getIconKey

public final String getIconKey()
Retrieves the possibly null value for the optional attribute iconKey.

Specified by:
getIconKey in interface CodeValueEntry
Returns:
The possibly null value for attribute iconKey.

setIconKey

public void setIconKey(String iconKey)
Sets a new value for the attribute iconKey.

Specified by:
setIconKey in interface CodeValueEntry
Parameters:
iconKey - The possibly null new value for attribute iconKey.


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.