org.openmdx.ui1.cci2
Interface ElementDefinition

All Superinterfaces:
AbstractElementDefinition, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
ElementDefinition
All Known Implementing Classes:
ElementDefinition

public interface ElementDefinition
extends org.openmdx.base.cci2.BasicObject, AbstractElementDefinition

Class ElementDefinition


Nested Class Summary
static interface ElementDefinition.Identity
          Object Identity
 
Method Summary
 void addAdditionalElementDefinition(boolean idIsPersistent, String id, AdditionalElementDefinition additionalElementDefinition)
          Adds the specified element to the set of the values for the reference additionalElementDefinition.
 void addAlternateElementDefinition(boolean idIsPersistent, String id, AlternateElementDefinition alternateElementDefinition)
          Adds the specified element to the set of the values for the reference alternateElementDefinition.
<T extends AdditionalElementDefinition>
Collection<T>
getAdditionalElementDefinition()
          Retrieves a set containing all the elements for the reference additionalElementDefinition.
 AdditionalElementDefinition getAdditionalElementDefinition(boolean idIsPersistent, String id)
          Retrieves the value for the reference additionalElementDefinition for the specified qualifier attribute value.
<T extends AlternateElementDefinition>
Collection<T>
getAlternateElementDefinition()
          Retrieves a set containing all the elements for the reference alternateElementDefinition.
 AlternateElementDefinition getAlternateElementDefinition(boolean idIsPersistent, String id)
          Retrieves the value for the reference alternateElementDefinition for the specified qualifier attribute value.
 boolean isActive()
          Retrieves the value for the attribute active.
 void setActive(boolean active)
          Sets a new value for the attribute active.
 
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
 
Methods inherited from interface org.openmdx.ui1.cci2.AbstractElementDefinition
getBackColor, getColor, getDataBindingName, getDecimalPlaces, getDisplayValueExpr, getEventHandler, getIconKey, getIncrement, getLabel, getMaxLength, getMaxMember, getMaxValue, getMemberDefaultValue, getMemberElementName, getMemberMimeType, getMinValue, getMultiplicity, getOrder, getOrderFieldGroup, getOrderObjectContainer, getShortLabel, getShowMaxMember, getSizeXweight, getSkipRow, getSpanRow, getTitleIndex, getToolTip, isChangeable, isColumnBreak, isFilterable, isHasThousandsSeparator, isInPlace, isPassword, isSortable, setBackColor, setChangeable, setColor, setColumnBreak, setDataBindingName, setDecimalPlaces, setDisplayValueExpr, setEventHandler, setFilterable, setHasThousandsSeparator, setIconKey, setIncrement, setInPlace, setLabel, setMaxLength, setMaxMember, setMaxValue, setMemberDefaultValue, setMemberElementName, setMemberMimeType, setMinValue, setMultiplicity, setOrder, setOrderFieldGroup, setOrderObjectContainer, setPassword, setShortLabel, setShowMaxMember, setSizeXweight, setSkipRow, setSortable, setSpanRow, setTitleIndex, setToolTip
 

Method Detail

isActive

boolean isActive()
Retrieves the value for the attribute active.

Returns:
The non-null value for attribute active.

setActive

void setActive(boolean active)
Sets a new value for the attribute active.

Parameters:
active - The non-null new value for attribute active.

getAdditionalElementDefinition

<T extends AdditionalElementDefinition> Collection<T> getAdditionalElementDefinition()
Retrieves a set containing all the elements for the reference additionalElementDefinition.

Returns:
A set containing all the elements for this reference.

getAdditionalElementDefinition

AdditionalElementDefinition getAdditionalElementDefinition(boolean idIsPersistent,
                                                           String id)
Retrieves the value for the reference additionalElementDefinition for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAdditionalElementDefinition

void addAdditionalElementDefinition(boolean idIsPersistent,
                                    String id,
                                    AdditionalElementDefinition additionalElementDefinition)
Adds the specified element to the set of the values for the reference additionalElementDefinition.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
additionalElementDefinition - The element to be appended.

getAlternateElementDefinition

<T extends AlternateElementDefinition> Collection<T> getAlternateElementDefinition()
Retrieves a set containing all the elements for the reference alternateElementDefinition.

Returns:
A set containing all the elements for this reference.

getAlternateElementDefinition

AlternateElementDefinition getAlternateElementDefinition(boolean idIsPersistent,
                                                         String id)
Retrieves the value for the reference alternateElementDefinition for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAlternateElementDefinition

void addAlternateElementDefinition(boolean idIsPersistent,
                                   String id,
                                   AlternateElementDefinition alternateElementDefinition)
Adds the specified element to the set of the values for the reference alternateElementDefinition.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
alternateElementDefinition - The element to be appended.


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