net.sf.farrago.cwm.instance
Class CwmObject$Hib
java.lang.Object
org.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefObjectBase
org.eigenbase.enki.hibernate.storage.HibernateObject
org.eigenbase.enki.hibernate.jmi.HibernateRefObject
net.sf.farrago.cwm.instance.CwmObject$Hib
- All Implemented Interfaces:
- RefBaseObject, RefFeatured, RefObject, CwmElement, CwmModelElement, CwmInstance, CwmObject, HibernateAssociable, HibernateIdentifiable
public class CwmObject$Hib
- extends HibernateRefObject
- implements CwmObject, HibernateAssociable
Object object instance interface.
An object is an instance that originates from a class.
In the metamodel, Object is a subclass of Instance originating from a
Class. The Class may be modified dynamically, which means that the set of
features of the Object may change during its life-time.
An object is an instance that originates from a class; it is structured
and behaves according to its class. All objects originating from the same
class are structured in the same way, although each of them has its own
set of attribute slots. Each attribute slot references an instance,
usually a data value or possibly, another object. The number of attribute
slots with the same name fulfills the multiplicity of the corresponding
attribute in the class. The set may be modified according to the
specification in the corresponding attribute, e.g. each referenced
instance must originate from (a specialization of) the type of the
attribute, and attribute slots may be added or removed according to the
changeable property of the attribute.
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.
Methods inherited from class org.eigenbase.enki.jmi.impl.RefBaseObjectBase |
createInstance, equals, getCurrentInitializer, getEnum, getInitializer, getMofId, getTag, hashCode, invokeMethod, invokeMethod, logJmi, refMofId, refOutermostPackage, refVerifyConstraints, setMofId |
_id
private static final String _id
- See Also:
- Constant Field Values
name$Hib
protected String name$Hib
visibility$Hib
protected String visibility$Hib
clientDependency$Hib
protected HibernateManyToManyLazyAssociation clientDependency$Hib
constraint$Hib
protected HibernateManyToManyLazyAssociation constraint$Hib
importer$Hib
protected HibernateManyToManyLazyAssociation importer$Hib
namespace$Hib
protected HibernateOneToManyLazyHighCardinalityAssociation namespace$Hib
classifier$Hib
protected HibernateOneToManyLazyAssociation classifier$Hib
slot$Hib
protected HibernateOneToManyLazyAssociation slot$Hib
dependencySupplier_SupplierDependency$Hib
protected HibernateManyToManyLazyAssociation dependencySupplier_SupplierDependency$Hib
stereotypedElement_Stereotype$Hib
protected HibernateOneToManyLazyAssociation stereotypedElement_Stereotype$Hib
taggedElement_TaggedValue$Hib
protected HibernateOneToManyLazyAssociation taggedElement_TaggedValue$Hib
slotValue_ValueSlot$Hib
protected HibernateOneToManyLazyAssociation slotValue_ValueSlot$Hib
privilegeIsGrantedOnElement_Privilege$Hib
protected HibernateOneToManyLazyHighCardinalityAssociation privilegeIsGrantedOnElement_Privilege$Hib
CwmObject$Hib
CwmObject$Hib()
CwmObject$Hib
CwmObject$Hib(String name,
VisibilityKind visibility)
getName$Hib
public String getName$Hib()
setName$Hib
public void setName$Hib(String newValue)
getName
public String getName()
- Description copied from interface:
CwmModelElement
- Returns the value of attribute name.
An identifier for the ModelElement within its containing Namespace.
- Specified by:
getName
in interface CwmModelElement
- Returns:
- Value of attribute name.
setName
public void setName(String newValue)
- Description copied from interface:
CwmModelElement
- Sets the value of name attribute. See
CwmModelElement.getName()
for
description on the attribute.
- Specified by:
setName
in interface CwmModelElement
- Parameters:
newValue
- New value to be set.
getVisibility$Hib
public String getVisibility$Hib()
setVisibility$Hib
public void setVisibility$Hib(String newValue)
getVisibility
public VisibilityKind getVisibility()
- Description copied from interface:
CwmModelElement
- Returns the value of attribute visibility.
Specifies extent of the visibility of the ModelElement within its
owning Namespace.
- Specified by:
getVisibility
in interface CwmModelElement
- Returns:
- Value of attribute visibility.
setVisibility
public void setVisibility(VisibilityKind newValue)
- Description copied from interface:
CwmModelElement
- Sets the value of visibility attribute. See
CwmModelElement.getVisibility()
for description on the attribute.
- Specified by:
setVisibility
in interface CwmModelElement
- Parameters:
newValue
- New value to be set.
getClientDependency
public Collection<CwmDependency> getClientDependency()
- Description copied from interface:
CwmModelElement
- Returns the value of reference clientDependency.
- Specified by:
getClientDependency
in interface CwmModelElement
- Returns:
- Value of reference clientDependency. Element type:
CwmDependency
getClientDependency$Hib
public HibernateManyToManyLazyAssociation getClientDependency$Hib()
setClientDependency$Hib
public void setClientDependency$Hib(HibernateManyToManyLazyAssociation newValue)
getConstraint
public Collection<CwmConstraint> getConstraint()
- Description copied from interface:
CwmModelElement
- Returns the value of reference constraint.
- Specified by:
getConstraint
in interface CwmModelElement
- Returns:
- Value of reference constraint. Element type:
CwmConstraint
getConstraint$Hib
public HibernateManyToManyLazyAssociation getConstraint$Hib()
setConstraint$Hib
public void setConstraint$Hib(HibernateManyToManyLazyAssociation newValue)
getImporter
public Collection<CwmPackage> getImporter()
- Description copied from interface:
CwmModelElement
- Returns the value of reference importer.
- Specified by:
getImporter
in interface CwmModelElement
- Returns:
- Value of reference importer. Element type:
CwmPackage
getImporter$Hib
public HibernateManyToManyLazyAssociation getImporter$Hib()
setImporter$Hib
public void setImporter$Hib(HibernateManyToManyLazyAssociation newValue)
getNamespace
public CwmNamespace getNamespace()
- Description copied from interface:
CwmModelElement
- Returns the value of reference namespace.
- Specified by:
getNamespace
in interface CwmModelElement
- Returns:
- Value of reference namespace.
setNamespace
public void setNamespace(CwmNamespace newValue)
- Description copied from interface:
CwmModelElement
- Sets the value of namespace reference. See
CwmModelElement.getNamespace()
for
description on the attribute.
- Specified by:
setNamespace
in interface CwmModelElement
- Parameters:
newValue
- New value to be set.
getNamespace$Hib
public HibernateOneToManyLazyHighCardinalityAssociation getNamespace$Hib()
setNamespace$Hib
public void setNamespace$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
getClassifier
public CwmClassifier getClassifier()
- Description copied from interface:
CwmInstance
- Returns the value of reference classifier.
- Specified by:
getClassifier
in interface CwmInstance
- Returns:
- Value of reference classifier.
setClassifier
public void setClassifier(CwmClassifier newValue)
- Description copied from interface:
CwmInstance
- Sets the value of classifier reference. See
CwmInstance.getClassifier()
for description on the attribute.
- Specified by:
setClassifier
in interface CwmInstance
- Parameters:
newValue
- New value to be set.
getClassifier$Hib
public HibernateOneToManyLazyAssociation getClassifier$Hib()
setClassifier$Hib
public void setClassifier$Hib(HibernateOneToManyLazyAssociation newValue)
getSlot
public Collection<CwmSlot> getSlot()
- Description copied from interface:
CwmObject
- Returns the value of reference slot.
- Specified by:
getSlot
in interface CwmObject
- Returns:
- Value of reference slot. Element type:
CwmSlot
getSlot$Hib
public HibernateOneToManyLazyAssociation getSlot$Hib()
setSlot$Hib
public void setSlot$Hib(HibernateOneToManyLazyAssociation newValue)
getDependencySupplier_SupplierDependency$Hib
public HibernateManyToManyLazyAssociation getDependencySupplier_SupplierDependency$Hib()
setDependencySupplier_SupplierDependency$Hib
public void setDependencySupplier_SupplierDependency$Hib(HibernateManyToManyLazyAssociation newValue)
getStereotypedElement_Stereotype$Hib
public HibernateOneToManyLazyAssociation getStereotypedElement_Stereotype$Hib()
setStereotypedElement_Stereotype$Hib
public void setStereotypedElement_Stereotype$Hib(HibernateOneToManyLazyAssociation newValue)
getTaggedElement_TaggedValue$Hib
public HibernateOneToManyLazyAssociation getTaggedElement_TaggedValue$Hib()
setTaggedElement_TaggedValue$Hib
public void setTaggedElement_TaggedValue$Hib(HibernateOneToManyLazyAssociation newValue)
getSlotValue_ValueSlot$Hib
public HibernateOneToManyLazyAssociation getSlotValue_ValueSlot$Hib()
setSlotValue_ValueSlot$Hib
public void setSlotValue_ValueSlot$Hib(HibernateOneToManyLazyAssociation newValue)
getPrivilegeIsGrantedOnElement_Privilege$Hib
public HibernateOneToManyLazyHighCardinalityAssociation getPrivilegeIsGrantedOnElement_Privilege$Hib()
setPrivilegeIsGrantedOnElement_Privilege$Hib
public void setPrivilegeIsGrantedOnElement_Privilege$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
getAssociation
public HibernateAssociation getAssociation(String type,
boolean firstEnd)
- Specified by:
getAssociation
in interface HibernateAssociable
setAssociation
public void setAssociation(String type,
boolean firstEnd,
HibernateAssociation assoc)
- Specified by:
setAssociation
in interface HibernateAssociable
getOrCreateAssociation
public HibernateAssociation getOrCreateAssociation(String type,
boolean firstEnd)
- Specified by:
getOrCreateAssociation
in interface HibernateAssociable
removeAssociations
protected void removeAssociations()
- Specified by:
removeAssociations
in class HibernateRefObject
getComposingAssociations
public Collection<HibernateAssociation> getComposingAssociations()
- Specified by:
getComposingAssociations
in class HibernateRefObject
getNonComposingAssociations
public Collection<HibernateAssociation> getNonComposingAssociations()
- Specified by:
getNonComposingAssociations
in class HibernateRefObject
refImmediateComposite
public RefObject refImmediateComposite()
- Specified by:
refImmediateComposite
in interface RefObject
- Overrides:
refImmediateComposite
in class RefObjectBase
checkConstraints
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
- Specified by:
checkConstraints
in class RefBaseObjectBase
getClassIdentifier
public String getClassIdentifier()
- Specified by:
getClassIdentifier
in class HibernateRefObject