|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.code1.jdo2.AbstractEntry
org.opencrx.kernel.code1.jdo2.CodeValueEntry
public class CodeValueEntry
Class CodeValueEntry
| Nested Class Summary | |
|---|---|
static class |
CodeValueEntry.Slice
Slice object hold the CodeValueEntry's
multivalued attributes |
| Nested classes/interfaces inherited from class org.opencrx.kernel.code1.jdo2.AbstractEntry |
|---|
AbstractEntry.Identity |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Nested classes/interfaces inherited from interface org.opencrx.kernel.code1.cci2.AbstractEntry |
|---|
AbstractEntry.Identity |
| Field Summary | |
|---|---|
static List<String> |
CLASS
Define the model class org::opencrx::kernel::code1::CodeValueEntry |
| Fields inherited from class org.opencrx.kernel.code1.jdo2.AbstractEntry |
|---|
BASE_CLASS |
| Constructor Summary | |
|---|---|
CodeValueEntry()
|
|
| 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. |
static AbstractEntry.Identity |
newIdentity(CodeValueContainer.Identity valueContainer,
boolean codeIsPersistent,
String code)
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
protected int |
openmdxjdoGetSize(int field)
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
static AbstractEntry.Identity |
openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
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.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| 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, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
|---|
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView, getView |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::code1::CodeValueEntry
| Constructor Detail |
|---|
public CodeValueEntry()
| Method Detail |
|---|
public final String getBackColor()
backColor.
getBackColor in interface CodeValueEntrybackColor.public void setBackColor(String backColor)
backColor.
setBackColor in interface CodeValueEntrybackColor - The possibly null new value for attribute backColor.public final String getFontWeight()
fontWeight.
getFontWeight in interface CodeValueEntryfontWeight.public void setFontWeight(String fontWeight)
fontWeight.
setFontWeight in interface CodeValueEntryfontWeight - The possibly null new value for attribute fontWeight.public final String getColor()
color.
getColor in interface CodeValueEntrycolor.public void setColor(String color)
color.
setColor in interface CodeValueEntrycolor - The possibly null new value for attribute color.public final List<String> getShortText()
shortText.
getShortText in interface CodeValueEntrypublic void setShortText(String... shortText)
shortText and adds the given value(s).
This method is equivalent to
list.clear();
for(java.lang.String e : attributeName){
list.add(e);
}
setShortText in interface CodeValueEntryshortText - value(s) to be added to shortTextpublic final List<String> getLongText()
longText.
getLongText in interface CodeValueEntrypublic void setLongText(String... longText)
longText and adds the given value(s).
This method is equivalent to
list.clear();
for(java.lang.String e : attributeName){
list.add(e);
}
setLongText in interface CodeValueEntrylongText - value(s) to be added to longTextpublic final String getIconKey()
iconKey.
getIconKey in interface CodeValueEntryiconKey.public void setIconKey(String iconKey)
iconKey.
setIconKey in interface CodeValueEntryiconKey - The possibly null new value for attribute iconKey.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class AbstractEntry
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class AbstractEntryprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
newSlice in class AbstractEntryprotected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class AbstractEntryCodeValueEntry.CLASS
public static AbstractEntry.Identity newIdentity(CodeValueContainer.Identity valueContainer,
boolean codeIsPersistent,
String code)
public static AbstractEntry.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||