net.sf.farrago.cwm.relational
Class CwmSqlindex$Hib

java.lang.Object
  extended by org.eigenbase.enki.jmi.impl.RefBaseObjectBase
      extended by org.eigenbase.enki.jmi.impl.RefFeaturedBase
          extended by org.eigenbase.enki.jmi.impl.RefObjectBase
              extended by org.eigenbase.enki.hibernate.storage.HibernateObject
                  extended by org.eigenbase.enki.hibernate.jmi.HibernateRefObject
                      extended by net.sf.farrago.cwm.relational.CwmSqlindex$Hib
All Implemented Interfaces:
RefBaseObject, RefFeatured, RefObject, CwmElement, CwmModelElement, CwmIndex, CwmSqlindex, HibernateAssociable, HibernateIdentifiable

public class CwmSqlindex$Hib
extends HibernateRefObject
implements CwmSqlindex, HibernateAssociable

SQLIndex object instance interface. An Index on a table.

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 static String _id
           
protected  Boolean autoUpdate$Hib
           
protected  HibernateManyToManyLazyAssociation clientDependency$Hib
           
protected  HibernateManyToManyLazyAssociation constraint$Hib
           
protected  HibernateManyToManyLazyAssociation dependencySupplier_SupplierDependency$Hib
           
protected  String filterCondition$Hib
           
protected  HibernateManyToManyLazyAssociation importer$Hib
           
protected  HibernateOneToManyLazyOrderedAssociation indexedFeature$Hib
           
protected  Boolean isNullable$Hib
           
protected  Boolean isPartitioning$Hib
           
protected  Boolean isSorted$Hib
           
protected  Boolean isUnique$Hib
           
protected  String name$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation namespace$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation privilegeIsGrantedOnElement_Privilege$Hib
           
protected  HibernateOneToManyLazyAssociation spannedClass$Hib
           
protected  HibernateOneToManyLazyAssociation stereotypedElement_Stereotype$Hib
           
protected  HibernateOneToManyLazyAssociation taggedElement_TaggedValue$Hib
           
protected  String visibility$Hib
           
 
Constructor Summary
CwmSqlindex$Hib()
           
CwmSqlindex$Hib(String name, VisibilityKind visibility, boolean isPartitioning, boolean isSorted, boolean isUnique, String filterCondition, boolean isNullable, boolean autoUpdate)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 Boolean getAutoUpdate$Hib()
           
 String getClassIdentifier()
           
 Collection<CwmDependency> getClientDependency()
          Returns the value of reference clientDependency.
 HibernateManyToManyLazyAssociation getClientDependency$Hib()
           
 Collection<HibernateAssociation> getComposingAssociations()
           
 Collection<CwmConstraint> getConstraint()
          Returns the value of reference constraint.
 HibernateManyToManyLazyAssociation getConstraint$Hib()
           
 HibernateManyToManyLazyAssociation getDependencySupplier_SupplierDependency$Hib()
           
 String getFilterCondition()
          Returns the value of attribute filterCondition.
 String getFilterCondition$Hib()
           
 Collection<CwmPackage> getImporter()
          Returns the value of reference importer.
 HibernateManyToManyLazyAssociation getImporter$Hib()
           
 List<CwmIndexedFeature> getIndexedFeature()
          Returns the value of reference indexedFeature.
 HibernateOneToManyLazyOrderedAssociation getIndexedFeature$Hib()
           
 Boolean getIsNullable$Hib()
           
 Boolean getIsPartitioning$Hib()
           
 Boolean getIsSorted$Hib()
           
 Boolean getIsUnique$Hib()
           
 String getName()
          Returns the value of attribute name.
 String getName$Hib()
           
 CwmNamespace getNamespace()
          Returns the value of reference namespace.
 HibernateOneToManyLazyHighCardinalityAssociation getNamespace$Hib()
           
 Collection<HibernateAssociation> getNonComposingAssociations()
           
 HibernateAssociation getOrCreateAssociation(String type, boolean firstEnd)
           
 HibernateOneToManyLazyHighCardinalityAssociation getPrivilegeIsGrantedOnElement_Privilege$Hib()
           
 CwmClass getSpannedClass()
          Returns the value of reference spannedClass.
 HibernateOneToManyLazyAssociation getSpannedClass$Hib()
           
 HibernateOneToManyLazyAssociation getStereotypedElement_Stereotype$Hib()
           
 HibernateOneToManyLazyAssociation getTaggedElement_TaggedValue$Hib()
           
 VisibilityKind getVisibility()
          Returns the value of attribute visibility.
 String getVisibility$Hib()
           
 boolean isAutoUpdate()
          Returns the value of attribute autoUpdate.
 boolean isNullable()
          Returns the value of attribute isNullable.
 boolean isPartitioning()
          Returns the value of attribute isPartitioning.
 boolean isSorted()
          Returns the value of attribute isSorted.
 boolean isUnique()
          Returns the value of attribute isUnique.
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setAutoUpdate(boolean newValue)
          Sets the value of autoUpdate attribute.
 void setAutoUpdate$Hib(Boolean newValue)
           
 void setClientDependency$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setConstraint$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setDependencySupplier_SupplierDependency$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setFilterCondition(String newValue)
          Sets the value of filterCondition attribute.
 void setFilterCondition$Hib(String newValue)
           
 void setImporter$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setIndexedFeature$Hib(HibernateOneToManyLazyOrderedAssociation newValue)
           
 void setIsNullable$Hib(Boolean newValue)
           
 void setIsPartitioning$Hib(Boolean newValue)
           
 void setIsSorted$Hib(Boolean newValue)
           
 void setIsUnique$Hib(Boolean newValue)
           
 void setName(String newValue)
          Sets the value of name attribute.
 void setName$Hib(String newValue)
           
 void setNamespace(CwmNamespace newValue)
          Sets the value of namespace reference.
 void setNamespace$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setNullable(boolean newValue)
          Sets the value of isNullable attribute.
 void setPartitioning(boolean newValue)
          Sets the value of isPartitioning attribute.
 void setPrivilegeIsGrantedOnElement_Privilege$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setSorted(boolean newValue)
          Sets the value of isSorted attribute.
 void setSpannedClass(CwmClass newValue)
          Sets the value of spannedClass reference.
 void setSpannedClass$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setStereotypedElement_Stereotype$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setTaggedElement_TaggedValue$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setUnique(boolean newValue)
          Sets the value of isUnique attribute.
 void setVisibility(VisibilityKind newValue)
          Sets the value of visibility attribute.
 void setVisibility$Hib(String newValue)
           
 
Methods inherited from class org.eigenbase.enki.hibernate.jmi.HibernateRefObject
associationSetSingle, attributeSetSingle, findAssociationEnd, fireAssociationRemoveAllEvents, fireAttributeSetEvent, getHibernateRepository, getRepository, refClass, refDelete
 
Methods inherited from class org.eigenbase.enki.hibernate.storage.HibernateObject
delete, delete, save, save
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefObjectBase
findAttribute, refImmediatePackage, refIsInstanceOf, refMetaObject, refOutermostComposite, setRefMetaObject, unregister
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefFeaturedBase
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, 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.eigenbase.enki.hibernate.storage.HibernateIdentifiable
getMofId
 

Field Detail

_id

private static final String _id
See Also:
Constant Field Values

name$Hib

protected String name$Hib

visibility$Hib

protected String visibility$Hib

isPartitioning$Hib

protected Boolean isPartitioning$Hib

isSorted$Hib

protected Boolean isSorted$Hib

isUnique$Hib

protected Boolean isUnique$Hib

filterCondition$Hib

protected String filterCondition$Hib

isNullable$Hib

protected Boolean isNullable$Hib

autoUpdate$Hib

protected Boolean autoUpdate$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

indexedFeature$Hib

protected HibernateOneToManyLazyOrderedAssociation indexedFeature$Hib

spannedClass$Hib

protected HibernateOneToManyLazyAssociation spannedClass$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

privilegeIsGrantedOnElement_Privilege$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation privilegeIsGrantedOnElement_Privilege$Hib
Constructor Detail

CwmSqlindex$Hib

CwmSqlindex$Hib()

CwmSqlindex$Hib

CwmSqlindex$Hib(String name,
                VisibilityKind visibility,
                boolean isPartitioning,
                boolean isSorted,
                boolean isUnique,
                String filterCondition,
                boolean isNullable,
                boolean autoUpdate)
Method Detail

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.

getIsPartitioning$Hib

public Boolean getIsPartitioning$Hib()

setIsPartitioning$Hib

public void setIsPartitioning$Hib(Boolean newValue)

isPartitioning

public boolean isPartitioning()
Description copied from interface: CwmIndex
Returns the value of attribute isPartitioning. If True, this Index instance is used as a partitioning index.

Specified by:
isPartitioning in interface CwmIndex
Returns:
Value of attribute isPartitioning.

setPartitioning

public void setPartitioning(boolean newValue)
Description copied from interface: CwmIndex
Sets the value of isPartitioning attribute. See CwmIndex.isPartitioning() for description on the attribute.

Specified by:
setPartitioning in interface CwmIndex
Parameters:
newValue - New value to be set.

getIsSorted$Hib

public Boolean getIsSorted$Hib()

setIsSorted$Hib

public void setIsSorted$Hib(Boolean newValue)

isSorted

public boolean isSorted()
Description copied from interface: CwmIndex
Returns the value of attribute isSorted. If True, the Index instance is maintained in a sorted order.

Specified by:
isSorted in interface CwmIndex
Returns:
Value of attribute isSorted.

setSorted

public void setSorted(boolean newValue)
Description copied from interface: CwmIndex
Sets the value of isSorted attribute. See CwmIndex.isSorted() for description on the attribute.

Specified by:
setSorted in interface CwmIndex
Parameters:
newValue - New value to be set.

getIsUnique$Hib

public Boolean getIsUnique$Hib()

setIsUnique$Hib

public void setIsUnique$Hib(Boolean newValue)

isUnique

public boolean isUnique()
Description copied from interface: CwmIndex
Returns the value of attribute isUnique. The isUnique attribute is True if the Index instance guarantees all of its instances have a unique key value.

Specified by:
isUnique in interface CwmIndex
Returns:
Value of attribute isUnique.

setUnique

public void setUnique(boolean newValue)
Description copied from interface: CwmIndex
Sets the value of isUnique attribute. See CwmIndex.isUnique() for description on the attribute.

Specified by:
setUnique in interface CwmIndex
Parameters:
newValue - New value to be set.

getFilterCondition$Hib

public String getFilterCondition$Hib()

setFilterCondition$Hib

public void setFilterCondition$Hib(String newValue)

getFilterCondition

public String getFilterCondition()
Description copied from interface: CwmSqlindex
Returns the value of attribute filterCondition. Which subset of the table is indexed

Specified by:
getFilterCondition in interface CwmSqlindex
Returns:
Value of attribute filterCondition.

setFilterCondition

public void setFilterCondition(String newValue)
Description copied from interface: CwmSqlindex
Sets the value of filterCondition attribute. See CwmSqlindex.getFilterCondition() for description on the attribute.

Specified by:
setFilterCondition in interface CwmSqlindex
Parameters:
newValue - New value to be set.

getIsNullable$Hib

public Boolean getIsNullable$Hib()

setIsNullable$Hib

public void setIsNullable$Hib(Boolean newValue)

isNullable

public boolean isNullable()
Description copied from interface: CwmSqlindex
Returns the value of attribute isNullable. Entries in this index can be null

Specified by:
isNullable in interface CwmSqlindex
Returns:
Value of attribute isNullable.

setNullable

public void setNullable(boolean newValue)
Description copied from interface: CwmSqlindex
Sets the value of isNullable attribute. See CwmSqlindex.isNullable() for description on the attribute.

Specified by:
setNullable in interface CwmSqlindex
Parameters:
newValue - New value to be set.

getAutoUpdate$Hib

public Boolean getAutoUpdate$Hib()

setAutoUpdate$Hib

public void setAutoUpdate$Hib(Boolean newValue)

isAutoUpdate

public boolean isAutoUpdate()
Description copied from interface: CwmSqlindex
Returns the value of attribute autoUpdate. The index is updated automatically

Specified by:
isAutoUpdate in interface CwmSqlindex
Returns:
Value of attribute autoUpdate.

setAutoUpdate

public void setAutoUpdate(boolean newValue)
Description copied from interface: CwmSqlindex
Sets the value of autoUpdate attribute. See CwmSqlindex.isAutoUpdate() for description on the attribute.

Specified by:
setAutoUpdate in interface CwmSqlindex
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)

getIndexedFeature

public List<CwmIndexedFeature> getIndexedFeature()
Description copied from interface: CwmIndex
Returns the value of reference indexedFeature.

Specified by:
getIndexedFeature in interface CwmIndex
Returns:
Value of reference indexedFeature. Element type: CwmIndexedFeature

getIndexedFeature$Hib

public HibernateOneToManyLazyOrderedAssociation getIndexedFeature$Hib()

setIndexedFeature$Hib

public void setIndexedFeature$Hib(HibernateOneToManyLazyOrderedAssociation newValue)

getSpannedClass

public CwmClass getSpannedClass()
Description copied from interface: CwmIndex
Returns the value of reference spannedClass.

Specified by:
getSpannedClass in interface CwmIndex
Returns:
Value of reference spannedClass.

setSpannedClass

public void setSpannedClass(CwmClass newValue)
Description copied from interface: CwmIndex
Sets the value of spannedClass reference. See CwmIndex.getSpannedClass() for description on the attribute.

Specified by:
setSpannedClass in interface CwmIndex
Parameters:
newValue - New value to be set.

getSpannedClass$Hib

public HibernateOneToManyLazyAssociation getSpannedClass$Hib()

setSpannedClass$Hib

public void setSpannedClass$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)

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