|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefPackageBase
org.eigenbase.enki.hibernate.jmi.HibernateRefPackage
net.sf.farrago.cwm.instance.InstancePackage$Hib
public class InstancePackage$Hib
Instance package implementation. The Instance metamodel depends on the following package: org.omg::CWM::ObjectModel::Core In addition to the metadata normally interchanged with CWM, it is sometimes useful to interchange specific data instances as well. The ObjectModel?s Instance metamodel allows the inclusion of data instances with the metadata. OCL Representation of Instance Constraints Constraints [C-6-1] A DataValue originates from a Classifier that is a DataType. context DataValue inv: self.classifier.oclIsKindOf(DataType) [C-6-2] A DataValue has no Slots. context DataValue inv: self.valueSlot->isEmpty [C-6-3] An Object may only own Objects and DataValues. context Object inv: self.contents->forAll(c | c.oclIsKindOf(Object) or c.oclIsKindOf(DataValue)) [C-6-4] If an Object represents an association, at least two of its ends must be not be empty. context Object inv: self.classifier.oclIsKindOf(Association) implies self.slot.feature->iterate( ae ; cnt : Integer = 0 | if ae.oclIsKindOf(AssociationEnd) and ae.value.notEmpty then cnt + 1 else cnt end if ) > 1 [C-6-5] If the StructuralFeature describing a Slot is an AssociationEnd, the Classifier associated with the Object owning the Slot must be an Association. context Slot inv: self.feature.oclIsKindOf(AssociationEnd) implies self.value.classifier.oclIsKindOf(Association)
Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.
| Field Summary | |
|---|---|
private CwmDataValueClass |
cwmDataValueClass
|
private CwmExtentClass |
cwmExtentClass
|
private CwmInstanceClass |
cwmInstanceClass
|
private CwmObjectClass |
cwmObjectClass
|
private CwmSlotClass |
cwmSlotClass
|
private FeatureSlot |
featureSlot
|
private InstanceClassifier |
instanceClassifier
|
private ObjectSlot |
objectSlot
|
private SlotValue |
slotValue
|
| Constructor Summary | |
|---|---|
InstancePackage$Hib(RefPackage container)
|
|
| Method Summary | |
|---|---|
void |
addAliasPackages()
|
protected void |
checkConstraints(List<JmiException> errors,
boolean deepVerify)
|
CwmDataValueClass |
getCwmDataValue()
Returns CwmDataValue class proxy object. |
CwmExtentClass |
getCwmExtent()
Returns CwmExtent class proxy object. |
CwmInstanceClass |
getCwmInstance()
Returns CwmInstance class proxy object. |
CwmObjectClass |
getCwmObject()
Returns CwmObject class proxy object. |
CwmSlotClass |
getCwmSlot()
Returns CwmSlot class proxy object. |
FeatureSlot |
getFeatureSlot()
Returns FeatureSlot association proxy object. |
InstanceClassifier |
getInstanceClassifier()
Returns InstanceClassifier association proxy object. |
ObjectSlot |
getObjectSlot()
Returns ObjectSlot association proxy object. |
SlotValue |
getSlotValue()
Returns SlotValue association proxy object. |
| Methods inherited from class org.eigenbase.enki.hibernate.jmi.HibernateRefPackage |
|---|
getHibernateRepository, refDelete |
| Methods inherited from class org.eigenbase.enki.jmi.impl.RefPackageBase |
|---|
addAssociation, addClass, addPackage, getRepository, refAllAssociations, refAllClasses, refAllPackages, refAssociation, refAssociation, refClass, refClass, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum, refImmediatePackage, refPackage, refPackage |
| Methods inherited from class org.eigenbase.enki.jmi.impl.RefBaseObjectBase |
|---|
createInstance, equals, getCurrentInitializer, getEnum, getInitializer, getMofId, getTag, hashCode, invokeMethod, invokeMethod, logJmi, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints, setMofId, setRefMetaObject |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jmi.reflect.RefPackage |
|---|
refAllAssociations, refAllClasses, refAllPackages, refAssociation, refAssociation, refClass, refClass, refCreateStruct, refCreateStruct, refDelete, refGetEnum, refGetEnum, refPackage, refPackage |
| Methods inherited from interface javax.jmi.reflect.RefBaseObject |
|---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
| Field Detail |
|---|
private final CwmInstanceClass cwmInstanceClass
private final CwmSlotClass cwmSlotClass
private final CwmDataValueClass cwmDataValueClass
private final CwmObjectClass cwmObjectClass
private final CwmExtentClass cwmExtentClass
private final SlotValue slotValue
private final InstanceClassifier instanceClassifier
private final ObjectSlot objectSlot
private final FeatureSlot featureSlot
| Constructor Detail |
|---|
public InstancePackage$Hib(RefPackage container)
| Method Detail |
|---|
public void addAliasPackages()
addAliasPackages in class RefPackageBasepublic CwmInstanceClass getCwmInstance()
InstancePackage
getCwmInstance in interface InstancePackagepublic CwmSlotClass getCwmSlot()
InstancePackage
getCwmSlot in interface InstancePackagepublic CwmDataValueClass getCwmDataValue()
InstancePackage
getCwmDataValue in interface InstancePackagepublic CwmObjectClass getCwmObject()
InstancePackage
getCwmObject in interface InstancePackagepublic CwmExtentClass getCwmExtent()
InstancePackage
getCwmExtent in interface InstancePackagepublic SlotValue getSlotValue()
InstancePackage
getSlotValue in interface InstancePackagepublic InstanceClassifier getInstanceClassifier()
InstancePackage
getInstanceClassifier in interface InstancePackagepublic ObjectSlot getObjectSlot()
InstancePackage
getObjectSlot in interface InstancePackagepublic FeatureSlot getFeatureSlot()
InstancePackage
getFeatureSlot in interface InstancePackage
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
checkConstraints in class RefBaseObjectBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||