org.openmdx.ui1.jmi1
Interface ElementDefinition

All Superinterfaces:
AbstractElementDefinition, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, ElementDefinition, org.openmdx.base.cci2.ExtentCapable, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, org.openmdx.base.accessor.jmi.cci.RefObject_1_0, org.openmdx.compatibility.view1.cci2.ViewCapable

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

Class ElementDefinition


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.ui1.cci2.ElementDefinition
ElementDefinition.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>
List<T>
getAdditionalElementDefinition(AdditionalElementDefinitionQuery query)
          Retrieves the value for the reference additionalElementDefinition for the specified query.
 AdditionalElementDefinition getAdditionalElementDefinition(boolean idIsPersistent, String id)
          Retrieves the value for the reference additionalElementDefinition for the specified qualifier attribute value.
 AdditionalElementDefinition getAdditionalElementDefinition(String id)
          Retrieves the value for the reference additionalElementDefinition for the specified qualifier attribute value.
<T extends AlternateElementDefinition>
List<T>
getAlternateElementDefinition(AlternateElementDefinitionQuery query)
          Retrieves the value for the reference alternateElementDefinition for the specified query.
 AlternateElementDefinition getAlternateElementDefinition(boolean idIsPersistent, String id)
          Retrieves the value for the reference alternateElementDefinition for the specified qualifier attribute value.
 AlternateElementDefinition getAlternateElementDefinition(String id)
          Retrieves the value for the reference alternateElementDefinition for the specified qualifier attribute value.
 
Methods inherited from interface org.openmdx.ui1.cci2.ElementDefinition
addAdditionalElementDefinition, addAlternateElementDefinition, getAdditionalElementDefinition, getAlternateElementDefinition, isActive, setActive
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.jmi1.ViewCapable
getView, getView, getView
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.openmdx.ui1.jmi1.AbstractElementDefinition
getDisplayValueExpr, getEventHandler, getLabel, getMemberDefaultValue, getMemberElementName, getMemberMimeType, getOrder, getOrderFieldGroup, getOrderObjectContainer, getShortLabel, getToolTip, setDisplayValueExpr, setEventHandler, setLabel, setMemberDefaultValue, setMemberElementName, setMemberMimeType, setOrder, setOrderFieldGroup, setOrderObjectContainer, setShortLabel, setToolTip
 
Methods inherited from interface org.openmdx.ui1.cci2.AbstractElementDefinition
getBackColor, getColor, getDataBindingName, getDecimalPlaces, getIconKey, getIncrement, getMaxLength, getMaxMember, getMaxValue, getMinValue, getMultiplicity, getShowMaxMember, getSizeXweight, getSkipRow, getSpanRow, getTitleIndex, 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

getAdditionalElementDefinition

<T extends AdditionalElementDefinition> List<T> getAdditionalElementDefinition(AdditionalElementDefinitionQuery query)
Retrieves the value for the reference additionalElementDefinition for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getAdditionalElementDefinition

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

Specified by:
getAdditionalElementDefinition in interface ElementDefinition
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

getAdditionalElementDefinition

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

This method is equivalent to the preferred invocation getAdditionalElementDefinition(false,id).

Parameters:
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> List<T> getAlternateElementDefinition(AlternateElementDefinitionQuery query)
Retrieves the value for the reference alternateElementDefinition for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getAlternateElementDefinition

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

Specified by:
getAlternateElementDefinition in interface ElementDefinition
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

getAlternateElementDefinition

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

This method is equivalent to the preferred invocation getAlternateElementDefinition(false,id).

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