org.openmdx.ui1.jdo2
Class ObjectContainer

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.openmdx.ui1.jdo2.Element
              extended by org.openmdx.ui1.jdo2.ObjectContainer
All Implemented Interfaces:
Serializable, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable, AbstractField, Container, ContainerField, Element, LabelledField, ObjectContainer, ObjectReference

public class ObjectContainer
extends Element
implements ObjectContainer

Class ObjectContainer

See Also:
Serialized Form

Nested Class Summary
static class ObjectContainer.Slice
           
 
Nested classes/interfaces inherited from class org.openmdx.ui1.jdo2.Element
Element.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.openmdx.ui1.cci2.Element
Element.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::openmdx::ui1::ObjectContainer
 
Fields inherited from class org.openmdx.ui1.jdo2.Element
BASE_CLASS
 
Constructor Summary
ObjectContainer()
           
 
Method Summary
 String getBackColor()
           
 String getColor()
           
 String getFontColor()
           
 String getFontName()
          Retrieves the value for the attribute fontName.
 BigDecimal getFontSize()
          Retrieves the value for the attribute fontSize.
 List<String> getLabel()
           
<T extends Element>
List<T>
getMember()
          Retrieves the Collection of objects referenced by member.
 List<String> getQualifierLabel()
           
 String getReferencedTypeName()
          Retrieves the value for the attribute referencedTypeName.
 String getReferenceName()
          Retrieves the value for the attribute referenceName.
 List<String> getShortLabel()
           
 Integer getShowMaxMember()
           
 boolean isFontBold()
          Retrieves the value for the attribute fontBold.
 boolean isFontItalic()
          Retrieves the value for the attribute fontItalic.
 boolean isFontStrikeout()
          Retrieves the value for the attribute fontStrikeout.
 boolean isFontUnderline()
          Retrieves the value for the attribute fontUnderline.
 Boolean isInPlaceEditable()
           
 boolean isReferenceIsStoredAsAttribute()
          Retrieves the value for the attribute referenceIsStoredAsAttribute.
 boolean isUserDefinedQualifier()
          Retrieves the value for the attribute userDefinedQualifier.
static Element.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean idIsPersistent, String id)
           
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)
           
 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 setFontBold(boolean fontBold)
          Sets a new value for the attribute fontBold.
 void setFontColor(String fontColor)
          Sets a new value for the attribute fontColor.
 void setFontItalic(boolean fontItalic)
          Sets a new value for the attribute fontItalic.
 void setFontName(String fontName)
          Sets a new value for the attribute fontName.
 void setFontSize(BigDecimal fontSize)
          Sets a new value for the attribute fontSize.
 void setFontStrikeout(boolean fontStrikeout)
          Sets a new value for the attribute fontStrikeout.
 void setFontUnderline(boolean fontUnderline)
          Sets a new value for the attribute fontUnderline.
 void setInPlaceEditable(Boolean inPlaceEditable)
          Sets a new value for the attribute inPlaceEditable.
 void setLabel(String... label)
           This method is equivalent to
 void setQualifierLabel(String... qualifierLabel)
           This method is equivalent to
 void setReferencedTypeName(String referencedTypeName)
          Sets a new value for the attribute referencedTypeName.
 void setReferenceIsStoredAsAttribute(boolean referenceIsStoredAsAttribute)
          Sets a new value for the attribute referenceIsStoredAsAttribute.
 void setReferenceName(String referenceName)
          Sets a new value for the attribute referenceName.
 void setShortLabel(String... shortLabel)
           This method is equivalent to
 void setShowMaxMember(Integer showMaxMember)
          Sets a new value for the attribute showMaxMember.
 void setUserDefinedQualifier(boolean userDefinedQualifier)
          Sets a new value for the attribute userDefinedQualifier.
 
Methods inherited from class org.openmdx.ui1.jdo2.Element
getCreatedAt, getCreatedBy, getIconKey, getIdentity, getMimeType, getModifiedAt, getModifiedBy, getToolTip, getView, isAutoGenerated, isChangeable, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, setAutoGenerated, setChangeable, setIconKey, setMimeType, setSegment, setSegment, setToolTip
 
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
openmdxjdoGetIdentity, openmdxjdoGetIdentity, 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.openmdx.ui1.cci2.Element
getIconKey, getMimeType, getToolTip, isAutoGenerated, isChangeable, setAutoGenerated, setChangeable, setIconKey, setMimeType, setSegment, setSegment, setToolTip
 
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
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::openmdx::ui1::ObjectContainer

Constructor Detail

ObjectContainer

public ObjectContainer()
Method Detail

getFontName

public String getFontName()
Retrieves the value for the attribute fontName.

Specified by:
getFontName in interface AbstractField
Returns:
The non-null value for attribute fontName.

setFontName

public void setFontName(String fontName)
Sets a new value for the attribute fontName.

Specified by:
setFontName in interface AbstractField
Parameters:
fontName - The non-null new value for attribute fontName.

getFontColor

public final String getFontColor()
Specified by:
getFontColor in interface AbstractField
Returns:
The possibly null value for attribute fontColor.

setFontColor

public void setFontColor(String fontColor)
Sets a new value for the attribute fontColor.

Specified by:
setFontColor in interface AbstractField
Parameters:
fontColor - The possibly null new value for attribute fontColor.

isInPlaceEditable

public final Boolean isInPlaceEditable()
Specified by:
isInPlaceEditable in interface ContainerField
Returns:
The possibly null value for attribute inPlaceEditable.

setInPlaceEditable

public void setInPlaceEditable(Boolean inPlaceEditable)
Sets a new value for the attribute inPlaceEditable.

Specified by:
setInPlaceEditable in interface ContainerField
Parameters:
inPlaceEditable - The possibly null new value for attribute inPlaceEditable.

getReferencedTypeName

public String getReferencedTypeName()
Retrieves the value for the attribute referencedTypeName.

Specified by:
getReferencedTypeName in interface ObjectReference
Returns:
The non-null value for attribute referencedTypeName.

setReferencedTypeName

public void setReferencedTypeName(String referencedTypeName)
Sets a new value for the attribute referencedTypeName.

Specified by:
setReferencedTypeName in interface ObjectReference
Parameters:
referencedTypeName - The non-null new value for attribute referencedTypeName.

getQualifierLabel

public final List<String> getQualifierLabel()
Specified by:
getQualifierLabel in interface ObjectReference
Returns:
A list containing all elements for this attribute.

setQualifierLabel

public void setQualifierLabel(String... qualifierLabel)

This method is equivalent to

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

Specified by:
setQualifierLabel in interface ObjectReference
Parameters:
qualifierLabel - value(s) to be added to qualifierLabel

getBackColor

public final String getBackColor()
Specified by:
getBackColor in interface AbstractField
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 AbstractField
Parameters:
backColor - The possibly null new value for attribute backColor.

getMember

public <T extends Element> List<T> getMember()
Retrieves the Collection of objects referenced by member.

Specified by:
getMember in interface Container
Returns:
The Collection of referenced objects.

isReferenceIsStoredAsAttribute

public boolean isReferenceIsStoredAsAttribute()
Retrieves the value for the attribute referenceIsStoredAsAttribute.

Specified by:
isReferenceIsStoredAsAttribute in interface ObjectReference
Returns:
The non-null value for attribute referenceIsStoredAsAttribute.

setReferenceIsStoredAsAttribute

public void setReferenceIsStoredAsAttribute(boolean referenceIsStoredAsAttribute)
Sets a new value for the attribute referenceIsStoredAsAttribute.

Specified by:
setReferenceIsStoredAsAttribute in interface ObjectReference
Parameters:
referenceIsStoredAsAttribute - The non-null new value for attribute referenceIsStoredAsAttribute.

getLabel

public final List<String> getLabel()
Specified by:
getLabel in interface LabelledField
Returns:
A list containing all elements for this attribute.

setLabel

public void setLabel(String... label)

This method is equivalent to

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

Specified by:
setLabel in interface LabelledField
Parameters:
label - value(s) to be added to label

isFontBold

public boolean isFontBold()
Retrieves the value for the attribute fontBold.

Specified by:
isFontBold in interface AbstractField
Returns:
The non-null value for attribute fontBold.

setFontBold

public void setFontBold(boolean fontBold)
Sets a new value for the attribute fontBold.

Specified by:
setFontBold in interface AbstractField
Parameters:
fontBold - The non-null new value for attribute fontBold.

getFontSize

public BigDecimal getFontSize()
Retrieves the value for the attribute fontSize.

Specified by:
getFontSize in interface AbstractField
Returns:
The non-null value for attribute fontSize.

setFontSize

public void setFontSize(BigDecimal fontSize)
Sets a new value for the attribute fontSize.

Specified by:
setFontSize in interface AbstractField
Parameters:
fontSize - The non-null new value for attribute fontSize.

getReferenceName

public String getReferenceName()
Retrieves the value for the attribute referenceName.

Specified by:
getReferenceName in interface ObjectReference
Returns:
The non-null value for attribute referenceName.

setReferenceName

public void setReferenceName(String referenceName)
Sets a new value for the attribute referenceName.

Specified by:
setReferenceName in interface ObjectReference
Parameters:
referenceName - The non-null new value for attribute referenceName.

isFontStrikeout

public boolean isFontStrikeout()
Retrieves the value for the attribute fontStrikeout.

Specified by:
isFontStrikeout in interface AbstractField
Returns:
The non-null value for attribute fontStrikeout.

setFontStrikeout

public void setFontStrikeout(boolean fontStrikeout)
Sets a new value for the attribute fontStrikeout.

Specified by:
setFontStrikeout in interface AbstractField
Parameters:
fontStrikeout - The non-null new value for attribute fontStrikeout.

isFontItalic

public boolean isFontItalic()
Retrieves the value for the attribute fontItalic.

Specified by:
isFontItalic in interface AbstractField
Returns:
The non-null value for attribute fontItalic.

setFontItalic

public void setFontItalic(boolean fontItalic)
Sets a new value for the attribute fontItalic.

Specified by:
setFontItalic in interface AbstractField
Parameters:
fontItalic - The non-null new value for attribute fontItalic.

isFontUnderline

public boolean isFontUnderline()
Retrieves the value for the attribute fontUnderline.

Specified by:
isFontUnderline in interface AbstractField
Returns:
The non-null value for attribute fontUnderline.

setFontUnderline

public void setFontUnderline(boolean fontUnderline)
Sets a new value for the attribute fontUnderline.

Specified by:
setFontUnderline in interface AbstractField
Parameters:
fontUnderline - The non-null new value for attribute fontUnderline.

getShortLabel

public final List<String> getShortLabel()
Specified by:
getShortLabel in interface LabelledField
Returns:
A list containing all elements for this attribute.

setShortLabel

public void setShortLabel(String... shortLabel)

This method is equivalent to

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

Specified by:
setShortLabel in interface LabelledField
Parameters:
shortLabel - value(s) to be added to shortLabel

getColor

public final String getColor()
Specified by:
getColor in interface AbstractField
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 AbstractField
Parameters:
color - The possibly null new value for attribute color.

isUserDefinedQualifier

public boolean isUserDefinedQualifier()
Retrieves the value for the attribute userDefinedQualifier.

Specified by:
isUserDefinedQualifier in interface ObjectReference
Returns:
The non-null value for attribute userDefinedQualifier.

setUserDefinedQualifier

public void setUserDefinedQualifier(boolean userDefinedQualifier)
Sets a new value for the attribute userDefinedQualifier.

Specified by:
setUserDefinedQualifier in interface ObjectReference
Parameters:
userDefinedQualifier - The non-null new value for attribute userDefinedQualifier.

getShowMaxMember

public final Integer getShowMaxMember()
Specified by:
getShowMaxMember in interface ContainerField
Returns:
The possibly null value for attribute showMaxMember.

setShowMaxMember

public void setShowMaxMember(Integer showMaxMember)
Sets a new value for the attribute showMaxMember.

Specified by:
setShowMaxMember in interface ContainerField
Parameters:
showMaxMember - The possibly null new value for attribute showMaxMember.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class Element

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class Element

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class Element

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class Element
Returns:
the model class
See Also:
ObjectContainer.CLASS

newIdentity

public static Element.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                           boolean idIsPersistent,
                                           String id)


This software is published under the BSD license. Copyright © 2006-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.