org.openmdx.ui1.jdo2
Class FieldGroup

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.FieldGroup
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, ElementLayoutDefinition, FieldGroup, LabelledField

public class FieldGroup
extends Element
implements FieldGroup

Class FieldGroup

See Also:
Serialized Form

Nested Class Summary
static class FieldGroup.Slice
          Slice object hold the FieldGroup's multivalued attributes
 
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.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::FieldGroup
 
Fields inherited from class org.openmdx.ui1.jdo2.Element
BASE_CLASS
 
Constructor Summary
FieldGroup()
           
 
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.
 List<Integer> getColumnBreakAtElement()
          Retrieves a list containing all the elements for the attribute columnBreakAtElement.
 List<Integer> getColumnSizeMax()
          Retrieves a list containing all the elements for the attribute columnSizeMax.
 List<Integer> getColumnSizeMin()
          Retrieves a list containing all the elements for the attribute columnSizeMin.
 String getDataBindingName()
          Retrieves the possibly null value for the optional attribute dataBindingName.
 String getFontColor()
          Retrieves the possibly null value for the optional attribute fontColor.
 String getFontName()
          Retrieves the value for the attribute fontName.
 BigDecimal getFontSize()
          Retrieves the value for the attribute fontSize.
 List<String> getLabel()
          Retrieves a list containing all the elements for the attribute label.
<T extends Element>
List<T>
getMember()
          Retrieves the Collection of objects referenced by member.
 List<String> getShortLabel()
          Retrieves a list containing all the elements for the attribute shortLabel.
 Integer getShowMaxMember()
          Retrieves the possibly null value for the optional attribute showMaxMember.
 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()
          Retrieves the possibly null value for the optional attribute inPlaceEditable.
 boolean isVerticalFill()
          Retrieves the value for the attribute verticalFill.
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)
           
static Element.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 setColumnBreakAtElement(int... columnBreakAtElement)
          Clears columnBreakAtElement and adds the given value(s).
 void setColumnSizeMax(int... columnSizeMax)
          Clears columnSizeMax and adds the given value(s).
 void setColumnSizeMin(int... columnSizeMin)
          Clears columnSizeMin and adds the given value(s).
 void setDataBindingName(String dataBindingName)
          Sets a new value for the attribute dataBindingName.
 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)
          Clears label and adds the given value(s).
 void setShortLabel(String... shortLabel)
          Clears shortLabel and adds the given value(s).
 void setShowMaxMember(Integer showMaxMember)
          Sets a new value for the attribute showMaxMember.
 void setVerticalFill(boolean verticalFill)
          Sets a new value for the attribute verticalFill.
 
Methods inherited from class org.openmdx.ui1.jdo2.Element
addToSegment, addToSegment, getCreatedAt, getCreatedBy, getIconKey, getIdentity, getMimeType, getModifiedAt, getModifiedBy, getToolTip, getView, getView, isAutoGenerated, isChangeable, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, setAutoGenerated, setChangeable, setIconKey, setMimeType, 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
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, 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, getView
 

Field Detail

CLASS

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

Constructor Detail

FieldGroup

public FieldGroup()
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()
Retrieves the possibly null value for the optional attribute fontColor.

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.

getColumnBreakAtElement

public final List<Integer> getColumnBreakAtElement()
Retrieves a list containing all the elements for the attribute columnBreakAtElement.

Specified by:
getColumnBreakAtElement in interface ElementLayoutDefinition
Returns:
A list containing all elements for this attribute.

setColumnBreakAtElement

public void setColumnBreakAtElement(int... columnBreakAtElement)
Clears columnBreakAtElement and adds the given value(s).

This method is equivalent to

   list.clear();
   for(int e : attributeName){
     list.add(e);
   }
 

Specified by:
setColumnBreakAtElement in interface ElementLayoutDefinition
Parameters:
columnBreakAtElement - value(s) to be added to columnBreakAtElement

isInPlaceEditable

public final Boolean isInPlaceEditable()
Retrieves the possibly null value for the optional attribute inPlaceEditable.

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.

getBackColor

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

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.

getColumnSizeMin

public final List<Integer> getColumnSizeMin()
Retrieves a list containing all the elements for the attribute columnSizeMin.

Specified by:
getColumnSizeMin in interface ElementLayoutDefinition
Returns:
A list containing all elements for this attribute.

setColumnSizeMin

public void setColumnSizeMin(int... columnSizeMin)
Clears columnSizeMin and adds the given value(s).

This method is equivalent to

   list.clear();
   for(int e : attributeName){
     list.add(e);
   }
 

Specified by:
setColumnSizeMin in interface ElementLayoutDefinition
Parameters:
columnSizeMin - value(s) to be added to columnSizeMin

getColumnSizeMax

public final List<Integer> getColumnSizeMax()
Retrieves a list containing all the elements for the attribute columnSizeMax.

Specified by:
getColumnSizeMax in interface ElementLayoutDefinition
Returns:
A list containing all elements for this attribute.

setColumnSizeMax

public void setColumnSizeMax(int... columnSizeMax)
Clears columnSizeMax and adds the given value(s).

This method is equivalent to

   list.clear();
   for(int e : attributeName){
     list.add(e);
   }
 

Specified by:
setColumnSizeMax in interface ElementLayoutDefinition
Parameters:
columnSizeMax - value(s) to be added to columnSizeMax

getLabel

public final List<String> getLabel()
Retrieves a list containing all the elements for the attribute label.

Specified by:
getLabel in interface LabelledField
Returns:
A list containing all elements for this attribute.

setLabel

public void setLabel(String... label)
Clears label and adds the given value(s).

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.

getDataBindingName

public final String getDataBindingName()
Retrieves the possibly null value for the optional attribute dataBindingName.

Specified by:
getDataBindingName in interface ContainerField
Returns:
The possibly null value for attribute dataBindingName.

setDataBindingName

public void setDataBindingName(String dataBindingName)
Sets a new value for the attribute dataBindingName.

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

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.

isVerticalFill

public boolean isVerticalFill()
Retrieves the value for the attribute verticalFill.

Specified by:
isVerticalFill in interface ElementLayoutDefinition
Returns:
The non-null value for attribute verticalFill.

setVerticalFill

public void setVerticalFill(boolean verticalFill)
Sets a new value for the attribute verticalFill.

Specified by:
setVerticalFill in interface ElementLayoutDefinition
Parameters:
verticalFill - The non-null new value for attribute verticalFill.

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()
Retrieves a list containing all the elements for the attribute shortLabel.

Specified by:
getShortLabel in interface LabelledField
Returns:
A list containing all elements for this attribute.

setShortLabel

public void setShortLabel(String... shortLabel)
Clears shortLabel and adds the given value(s).

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()
Retrieves the possibly null value for the optional attribute color.

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.

getShowMaxMember

public final Integer getShowMaxMember()
Retrieves the possibly null value for the optional attribute showMaxMember.

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:
FieldGroup.CLASS

newIdentity

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

openmdxjdoToIdentity

public static Element.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)


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