org.openmdx.ui1.jdo2
Class AssertableInspector

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.openmdx.ui1.jdo2.AssertableInspector
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, AssertableInspector

public class AssertableInspector
extends org.w3c.jdo2.AbstractObject
implements AssertableInspector

Class AssertableInspector

See Also:
Serialized Form

Nested Class Summary
static class AssertableInspector.Identity
          The object's application identity
static class AssertableInspector.Slice
           
 
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>
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::openmdx::ui1::AssertableInspector
 
Constructor Summary
AssertableInspector()
           
 
Method Summary
 String getBackColor()
           
 String getColor()
           
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
           
 String getForClass()
          Retrieves the value for the attribute forClass.
 String getIconKey()
          Retrieves the value for the attribute iconKey.
 org.openxri.XRI getIdentity()
          Retrieves the value for the derived attribute identity.
 List<String> getLabel()
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
           
 List<Integer> getOrder()
           
 List<String> getToolTip()
           
<T extends org.openmdx.compatibility.view1.cci2.View>
Collection<T>
getView()
          Retrieves a set containing all the elements for the reference view.
 boolean isChangeable()
          Retrieves the value for the attribute changeable.
 boolean isFilterable()
          Retrieves the value for the attribute filterable.
 boolean isSortable()
          Retrieves the value for the attribute sortable.
static AssertableInspector.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean nameIsPersistent, String name)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  String openmdxjdoGetObjectId()
          Retrieve the object's JDO identity key
static org.w3c.cci2.CloseableCollection<AssertableInspector> openmdxjdoGetObjectsByParent(Segment segment)
          Navigate through an object's composite association
protected  int openmdxjdoGetSize(int field)
           
protected
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
protected  void openmdxjdoSetSize(int field, int size)
           
 void setBackColor(String backColor)
          Sets a new value for the attribute backColor.
 void setChangeable(boolean changeable)
          Sets a new value for the attribute changeable.
 void setColor(String color)
          Sets a new value for the attribute color.
 void setFilterable(boolean filterable)
          Sets a new value for the attribute filterable.
 void setForClass(String forClass)
          Sets a new value for the attribute forClass.
 void setIconKey(String iconKey)
          Sets a new value for the attribute iconKey.
 void setLabel(String... label)
           This method is equivalent to
 void setOrder(int... order)
           This method is equivalent to
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean nameIsPersistent, String name)
          Set the object's composite association org:openmdx:ui1:SegmentContainsAssertableInspector.
 void setSortable(boolean sortable)
          Sets a new value for the attribute sortable.
 void setToolTip(String... toolTip)
           This method is equivalent to
 
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
 

Field Detail

CLASS

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


BASE_CLASS

public static final List<String> BASE_CLASS
Define this class as base class

See Also:
AssertableInspector.CLASS
Constructor Detail

AssertableInspector

public AssertableInspector()
Method Detail

openmdxjdoGetObjectId

protected String openmdxjdoGetObjectId()
Retrieve the object's JDO identity key

Specified by:
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiable
Returns:
the value of the object's JDO identity key

openmdxjdoGetSlices

protected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
Overrides:
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObject

getModifiedAt

public Date getModifiedAt()
Retrieves the value for the attribute modifiedAt.

Specified by:
getModifiedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute modifiedAt.

getModifiedBy

public final Set<String> getModifiedBy()
Specified by:
getModifiedBy in interface org.openmdx.base.cci2.BasicObject
Returns:
A set containing all elements for this attribute.

getToolTip

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

setToolTip

public void setToolTip(String... toolTip)

This method is equivalent to

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

Specified by:
setToolTip in interface AssertableInspector
Parameters:
toolTip - value(s) to be added to toolTip

isSortable

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

Specified by:
isSortable in interface AssertableInspector
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 AssertableInspector
Parameters:
sortable - The non-null new value for attribute sortable.

getForClass

public String getForClass()
Retrieves the value for the attribute forClass.

Specified by:
getForClass in interface AssertableInspector
Returns:
The non-null value for attribute forClass.

setForClass

public void setForClass(String forClass)
Sets a new value for the attribute forClass.

Specified by:
setForClass in interface AssertableInspector
Parameters:
forClass - The non-null new value for attribute forClass.

getLabel

public final List<String> getLabel()
Specified by:
getLabel in interface AssertableInspector
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 AssertableInspector
Parameters:
label - value(s) to be added to label

getIdentity

public org.openxri.XRI getIdentity()
Retrieves the value for the derived attribute identity.

Specified by:
getIdentity in interface org.openmdx.base.cci2.ExtentCapable
Returns:
The non-null value for the attribute identity

getCreatedBy

public final Set<String> getCreatedBy()
Specified by:
getCreatedBy in interface org.openmdx.base.cci2.BasicObject
Returns:
A set containing all elements for this attribute.

getOrder

public final List<Integer> getOrder()
Specified by:
getOrder in interface AssertableInspector
Returns:
A list containing all elements for this attribute.

setOrder

public void setOrder(int... order)

This method is equivalent to

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

Specified by:
setOrder in interface AssertableInspector
Parameters:
order - value(s) to be added to order

getColor

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

getCreatedAt

public Date getCreatedAt()
Retrieves the value for the attribute createdAt.

Specified by:
getCreatedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute createdAt.

getView

public <T extends org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
Retrieves a set containing all the elements for the reference view.

Specified by:
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapable
Returns:
A set containing all the elements for this reference.

getIconKey

public String getIconKey()
Retrieves the value for the attribute iconKey.

Specified by:
getIconKey in interface AssertableInspector
Returns:
The non-null value for attribute iconKey.

setIconKey

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

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

getBackColor

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

isChangeable

public boolean isChangeable()
Retrieves the value for the attribute changeable.

Specified by:
isChangeable in interface AssertableInspector
Returns:
The non-null value for attribute changeable.

setChangeable

public void setChangeable(boolean changeable)
Sets a new value for the attribute changeable.

Specified by:
setChangeable in interface AssertableInspector
Parameters:
changeable - The non-null new value for attribute changeable.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObject

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)

openmdxjdoGetClass

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

Returns:
the model class
See Also:
AssertableInspector.CLASS

setSegment

public void setSegment(Segment segment)
Sets a new value for the reference segment.

Specified by:
setSegment in interface AssertableInspector
Parameters:
segment - The non-null new value for this reference.

openmdxjdoGetObjectsByParent

public static org.w3c.cci2.CloseableCollection<AssertableInspector> openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association


setSegment

public void setSegment(Segment segment,
                       boolean nameIsPersistent,
                       String name)
Set the object's composite association org:openmdx:ui1:SegmentContainsAssertableInspector.

Specified by:
setSegment in interface AssertableInspector
Parameters:
segment - The non-null new value for this object's composite owner.
nameIsPersistent - Defines whether the name is persistent.
name - The non-null new value for this object's qualifier.

newIdentity

public static AssertableInspector.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                                       boolean nameIsPersistent,
                                                       String name)


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