org.openmdx.base.accessor.jmi.spi
Class RefClass_1

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefClass_1
All Implemented Interfaces:
Serializable, RefBaseObject, RefClass, RefFeatured, RefClass_1_0
Direct Known Subclasses:
AliasTypeClassImpl, AssociationClassImpl, AssociationEndClassImpl, AttributeClassImpl, AuditableClassImpl, AuthorityClassImpl, BooleanPropertyClassImpl, BooleanPropertyClassImpl, ClassClassImpl, CollectionTypeClassImpl, ComponentClassImpl, ConfigurationClassImpl, ConnectionClassImpl, ConstantClassImpl, ConstraintClassImpl, DatabaseClassImpl, DatabaseConnectorClassImpl, DatabaseResourceReferenceClassImpl, DataproviderBooleanPropertyClassImpl, DataproviderClassImpl, DataproviderConnectorClassImpl, DataproviderIntegerPropertyClassImpl, DataproviderResourceClassImpl, DataproviderResourceReferenceClassImpl, DataproviderStringPropertyClassImpl, DataproviderTypeBooleanPropertyClassImpl, DataproviderTypeClassImpl, DataproviderTypeIntegerPropertyClassImpl, DataproviderTypeStringPropertyClassImpl, DecimalPropertyClassImpl, DecimalPropertyClassImpl, DeploymentUnitClassImpl, DomainClassImpl, DomainClassImpl, EnumerationTypeClassImpl, ExceptionClassImpl, FilterClassImpl, GenericResourceReferenceClassImpl, HttpUrlConnectorClassImpl, ImportClassImpl, IndexClassImpl, InstanceClassImpl, IntegerPropertyClassImpl, IntegerPropertyClassImpl, InvolvedClassImpl, ModuleClassImpl, NamespaceClassImpl, OperationClassImpl, OptimisticLockClassImpl, OutboundCommunicationClassImpl, PackageClassImpl, ParameterClassImpl, PreferencesClassImpl, PrimitiveTypeClassImpl, ProviderClassImpl, QueryFilterClassImpl, ReferenceClassImpl, ResourceAdapterBooleanPropertyClassImpl, ResourceAdapterIntegerPropertyClassImpl, ResourceAdapterStringPropertyClassImpl, SegmentClassImpl, SegmentClassImpl, SegmentClassImpl, SegmentClassImpl, SegmentClassImpl, SequenceClassImpl, StateCapableClassImpl, StatefulConnectionClassImpl, StatisticsClassImpl, StringPropertyClassImpl, StringPropertyClassImpl, StructureFieldClassImpl, StructureTypeClassImpl, TagClassImpl, TransientClassImpl, UnitOfWorkClassImpl, UriPropertyClassImpl, UriPropertyClassImpl

public abstract class RefClass_1
extends Object
implements RefClass_1_0, Serializable

Standard implementation of RefClass_1_0. The implementation does not support class-level features.

This implementation supports efficient serialization. The immediate package is the only member. Other members are transient.

See Also:
Serialized Form

Constructor Summary
RefClass_1(RefPackage_1_0 refPackage)
           
 
Method Summary
 Collection refAllOfClass()
          RefClass_1 does not remember all created instances.
 Collection refAllOfType()
          RefClass_1 does not remember all created instances.
 RefObject refCreateInstance(List iargs)
           
 RefStruct refCreateStruct(RefObject structType, List args)
          The call is delegated to the refImmediatePackage().
 RefStruct refCreateStruct(String structName, List args)
          The call is delegated to the refImmediatePackage().
 RefEnum refGetEnum(RefObject enumType, String literalName)
          The call is delegated to the refImmediatePackage().
 RefEnum refGetEnum(String enumName, String literalName)
          The call is delegated to the refImmediatePackage().
 Object refGetValue(RefObject feature)
          RefClass_1 does not support class-level features.
 Object refGetValue(RefObject feature, int index)
          RefClass_1 does not support class-level features.
 Object refGetValue(String featureName)
          RefClass_1 does not support class-level features.
 Object refGetValue(String featureName, int index)
          RefClass_1 does not support class-level features.
 RefPackage refImmediatePackage()
           
 Object refInvokeOperation(RefObject requestedOperation, List args)
          RefClass_1 does not support class-level features.
 Object refInvokeOperation(String operationName, List args)
          RefClass_1 does not support class-level features.
 RefObject refMetaObject()
          Returns the ModelElement_1_0 of this class.
 String refMofId()
          Must be implemented by the concrete subclass.
 RefPackage refOutermostPackage()
           
 void refSetValue(RefObject feature, Object value)
          RefClass_1 does not support class-level features.
 void refSetValue(String featureName, int index, Object value)
          RefClass_1 does not support class-level features.
 void refSetValue(String featureName, Object value)
          RefClass_1 does not support class-level features.
 Collection refVerifyConstraints(boolean deepVerify)
          RefClass_1 does not supporte class-level features.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode
 

Constructor Detail

RefClass_1

public RefClass_1(RefPackage_1_0 refPackage)
Method Detail

refCreateInstance

public RefObject refCreateInstance(List iargs)
Specified by:
refCreateInstance in interface RefClass

refAllOfType

public Collection refAllOfType()
RefClass_1 does not remember all created instances. Therefore this operation is not supported.

Specified by:
refAllOfType in interface RefClass

refAllOfClass

public Collection refAllOfClass()
RefClass_1 does not remember all created instances. Therefore this operation is not supported.

Specified by:
refAllOfClass in interface RefClass

refCreateStruct

public RefStruct refCreateStruct(RefObject structType,
                                 List args)
The call is delegated to the refImmediatePackage().

Specified by:
refCreateStruct in interface RefClass

refCreateStruct

public RefStruct refCreateStruct(String structName,
                                 List args)
The call is delegated to the refImmediatePackage().

Specified by:
refCreateStruct in interface RefClass

refGetEnum

public RefEnum refGetEnum(RefObject enumType,
                          String literalName)
The call is delegated to the refImmediatePackage().

Specified by:
refGetEnum in interface RefClass

refGetEnum

public RefEnum refGetEnum(String enumName,
                          String literalName)
The call is delegated to the refImmediatePackage().

Specified by:
refGetEnum in interface RefClass

refSetValue

public void refSetValue(RefObject feature,
                        Object value)
                 throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Specified by:
refSetValue in interface RefFeatured
Throws:
JmiException

refSetValue

public void refSetValue(String featureName,
                        Object value)
                 throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Specified by:
refSetValue in interface RefFeatured
Throws:
JmiException

refSetValue

public void refSetValue(String featureName,
                        int index,
                        Object value)
                 throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Throws:
JmiException

refGetValue

public Object refGetValue(RefObject feature)
                   throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Specified by:
refGetValue in interface RefFeatured
Throws:
JmiException

refGetValue

public Object refGetValue(RefObject feature,
                          int index)
                   throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Throws:
JmiException

refGetValue

public Object refGetValue(String featureName)
                   throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Specified by:
refGetValue in interface RefFeatured
Throws:
JmiException

refGetValue

public Object refGetValue(String featureName,
                          int index)
                   throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Throws:
JmiException

refInvokeOperation

public Object refInvokeOperation(RefObject requestedOperation,
                                 List args)
                          throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Specified by:
refInvokeOperation in interface RefFeatured
Throws:
JmiException

refInvokeOperation

public Object refInvokeOperation(String operationName,
                                 List args)
                          throws JmiException
RefClass_1 does not support class-level features. This operation is not supported.

Specified by:
refInvokeOperation in interface RefFeatured
Throws:
JmiException

refMetaObject

public RefObject refMetaObject()
Returns the ModelElement_1_0 of this class.

Specified by:
refMetaObject in interface RefBaseObject

refImmediatePackage

public RefPackage refImmediatePackage()
Specified by:
refImmediatePackage in interface RefBaseObject

refOutermostPackage

public RefPackage refOutermostPackage()
Specified by:
refOutermostPackage in interface RefBaseObject

refMofId

public String refMofId()
                throws JmiException
Must be implemented by the concrete subclass.

Specified by:
refMofId in interface RefBaseObject
Throws:
JmiException

refVerifyConstraints

public Collection refVerifyConstraints(boolean deepVerify)
RefClass_1 does not supporte class-level features. Therefore verification is always successful.

Specified by:
refVerifyConstraints in interface RefBaseObject


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