org.openmdx.ui1.jdo2
Class DateField

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.DateField
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, DateField, Element, LabelledField, ValuedField

public class DateField
extends Element
implements DateField

Class DateField

See Also:
Serialized Form

Nested Class Summary
static class DateField.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::DateField
 
Fields inherited from class org.openmdx.ui1.jdo2.Element
BASE_CLASS
 
Constructor Summary
DateField()
           
 
Method Summary
 String getBackColor()
           
 String getColor()
           
 String getDataBindingName()
           
 String getDefaultValue()
           
 List<String> getEventHandler()
           
 String getFeatureName()
           
 String getFontColor()
           
 String getFontName()
          Retrieves the value for the attribute fontName.
 BigDecimal getFontSize()
          Retrieves the value for the attribute fontSize.
 String getFormat()
          Retrieves the value for the attribute format.
 List<String> getLabel()
           
 Date getMaxDate()
           
 Date getMinDate()
           
 String getMultiplicity()
          Retrieves the value for the attribute multiplicity.
 String getQualifiedFeatureName()
           
 List<String> getShortLabel()
           
 int getSkipRow()
          Retrieves the value for the attribute skipRow.
 int getSpanRow()
          Retrieves the value for the attribute spanRow.
 boolean isFilterable()
          Retrieves the value for the attribute filterable.
 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 isSortable()
          Retrieves the value for the attribute sortable.
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 setDataBindingName(String dataBindingName)
          Sets a new value for the attribute dataBindingName.
 void setDefaultValue(String defaultValue)
          Sets a new value for the attribute defaultValue.
 void setEventHandler(String... eventHandler)
           This method is equivalent to
 void setFeatureName(String featureName)
          Sets a new value for the attribute featureName.
 void setFilterable(boolean filterable)
          Sets a new value for the attribute filterable.
 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 setFormat(String format)
          Sets a new value for the attribute format.
 void setLabel(String... label)
           This method is equivalent to
 void setMaxDate(Date maxDate)
          Sets a new value for the attribute maxDate.
 void setMinDate(Date minDate)
          Sets a new value for the attribute minDate.
 void setMultiplicity(String multiplicity)
          Sets a new value for the attribute multiplicity.
 void setQualifiedFeatureName(String qualifiedFeatureName)
          Sets a new value for the attribute qualifiedFeatureName.
 void setShortLabel(String... shortLabel)
           This method is equivalent to
 void setSkipRow(int skipRow)
          Sets a new value for the attribute skipRow.
 void setSortable(boolean sortable)
          Sets a new value for the attribute sortable.
 void setSpanRow(int spanRow)
          Sets a new value for the attribute spanRow.
 
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::DateField

Constructor Detail

DateField

public DateField()
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.

isSortable

public boolean isSortable()
Retrieves the value for the attribute sortable.

Specified by:
isSortable in interface ValuedField
Returns:
The non-null value for attribute sortable.

setSortable

public void setSortable(boolean sortable)
Sets a new value for the attribute sortable.

Specified by:
setSortable in interface ValuedField
Parameters:
sortable - The non-null new value for attribute sortable.

getMultiplicity

public String getMultiplicity()
Retrieves the value for the attribute multiplicity.

Specified by:
getMultiplicity in interface ValuedField
Returns:
The non-null value for attribute multiplicity.

setMultiplicity

public void setMultiplicity(String multiplicity)
Sets a new value for the attribute multiplicity.

Specified by:
setMultiplicity in interface ValuedField
Parameters:
multiplicity - The non-null new value for attribute multiplicity.

getEventHandler

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

setEventHandler

public void setEventHandler(String... eventHandler)

This method is equivalent to

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

Specified by:
setEventHandler in interface ValuedField
Parameters:
eventHandler - value(s) to be added to eventHandler

getSpanRow

public int getSpanRow()
Retrieves the value for the attribute spanRow.

Specified by:
getSpanRow in interface ValuedField
Returns:
The non-null value for attribute spanRow.

setSpanRow

public void setSpanRow(int spanRow)
Sets a new value for the attribute spanRow.

Specified by:
setSpanRow in interface ValuedField
Parameters:
spanRow - The non-null new value for attribute spanRow.

getDefaultValue

public final String getDefaultValue()
Specified by:
getDefaultValue in interface ValuedField
Returns:
The possibly null value for attribute defaultValue.

setDefaultValue

public void setDefaultValue(String defaultValue)
Sets a new value for the attribute defaultValue.

Specified by:
setDefaultValue in interface ValuedField
Parameters:
defaultValue - The possibly null new value for attribute defaultValue.

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.

getFeatureName

public final String getFeatureName()
Specified by:
getFeatureName in interface ValuedField
Returns:
The possibly null value for attribute featureName.

setFeatureName

public void setFeatureName(String featureName)
Sets a new value for the attribute featureName.

Specified by:
setFeatureName in interface ValuedField
Parameters:
featureName - The possibly null new value for attribute featureName.

getQualifiedFeatureName

public final String getQualifiedFeatureName()
Specified by:
getQualifiedFeatureName in interface ValuedField
Returns:
The possibly null value for attribute qualifiedFeatureName.

setQualifiedFeatureName

public void setQualifiedFeatureName(String qualifiedFeatureName)
Sets a new value for the attribute qualifiedFeatureName.

Specified by:
setQualifiedFeatureName in interface ValuedField
Parameters:
qualifiedFeatureName - The possibly null new value for attribute qualifiedFeatureName.

getSkipRow

public int getSkipRow()
Retrieves the value for the attribute skipRow.

Specified by:
getSkipRow in interface ValuedField
Returns:
The non-null value for attribute skipRow.

setSkipRow

public void setSkipRow(int skipRow)
Sets a new value for the attribute skipRow.

Specified by:
setSkipRow in interface ValuedField
Parameters:
skipRow - The non-null new value for attribute skipRow.

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.

getFormat

public String getFormat()
Retrieves the value for the attribute format.

Specified by:
getFormat in interface DateField
Returns:
The non-null value for attribute format.

setFormat

public void setFormat(String format)
Sets a new value for the attribute format.

Specified by:
setFormat in interface DateField
Parameters:
format - The non-null new value for attribute format.

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()
Specified by:
getDataBindingName in interface ValuedField
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 ValuedField
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.

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.

isFilterable

public boolean isFilterable()
Retrieves the value for the attribute filterable.

Specified by:
isFilterable in interface ValuedField
Returns:
The non-null value for attribute filterable.

setFilterable

public void setFilterable(boolean filterable)
Sets a new value for the attribute filterable.

Specified by:
setFilterable in interface ValuedField
Parameters:
filterable - The non-null new value for attribute filterable.

getMaxDate

public final Date getMaxDate()
Specified by:
getMaxDate in interface DateField
Returns:
The possibly null value for attribute maxDate.

setMaxDate

public void setMaxDate(Date maxDate)
Sets a new value for the attribute maxDate.

Specified by:
setMaxDate in interface DateField
Parameters:
maxDate - The possibly null new value for attribute maxDate.

getMinDate

public final Date getMinDate()
Specified by:
getMinDate in interface DateField
Returns:
The possibly null value for attribute minDate.

setMinDate

public void setMinDate(Date minDate)
Sets a new value for the attribute minDate.

Specified by:
setMinDate in interface DateField
Parameters:
minDate - The possibly null new value for attribute minDate.

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:
DateField.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.