net.sf.farrago.fem.security
Class FemGrant$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.fem.security.FemGrant$Hib
All Implemented Interfaces:
RefBaseObject, RefFeatured, RefObject, CwmElement, FemGrant, HibernateAssociable, HibernateIdentifiable

public class FemGrant$Hib
extends HibernateRefObject
implements FemGrant, HibernateAssociable

Grant object instance interface.

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  String action$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation element$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation grantee$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation grantor$Hib
           
protected  Boolean withGrantOption$Hib
           
 
Constructor Summary
FemGrant$Hib()
           
FemGrant$Hib(String action, boolean withGrantOption)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 String getAction()
          Returns the value of attribute action.
 String getAction$Hib()
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 String getClassIdentifier()
           
 Collection<HibernateAssociation> getComposingAssociations()
           
 CwmModelElement getElement()
          Returns the value of reference Element.
 HibernateOneToManyLazyHighCardinalityAssociation getElement$Hib()
           
 FemAuthId getGrantee()
          Returns the value of reference Grantee.
 HibernateOneToManyLazyHighCardinalityAssociation getGrantee$Hib()
           
 FemAuthId getGrantor()
          Returns the value of reference Grantor.
 HibernateOneToManyLazyHighCardinalityAssociation getGrantor$Hib()
           
 Collection<HibernateAssociation> getNonComposingAssociations()
           
 HibernateAssociation getOrCreateAssociation(String type, boolean firstEnd)
           
 Boolean getWithGrantOption$Hib()
           
 boolean isWithGrantOption()
          Returns the value of attribute withGrantOption.
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setAction(String newValue)
          Sets the value of action attribute.
 void setAction$Hib(String newValue)
           
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setElement(CwmModelElement newValue)
          Sets the value of Element reference.
 void setElement$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setGrantee(FemAuthId newValue)
          Sets the value of Grantee reference.
 void setGrantee$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setGrantor(FemAuthId newValue)
          Sets the value of Grantor reference.
 void setGrantor$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setWithGrantOption(boolean newValue)
          Sets the value of withGrantOption attribute.
 void setWithGrantOption$Hib(Boolean 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

action$Hib

protected String action$Hib

withGrantOption$Hib

protected Boolean withGrantOption$Hib

element$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation element$Hib

grantor$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation grantor$Hib

grantee$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation grantee$Hib
Constructor Detail

FemGrant$Hib

FemGrant$Hib()

FemGrant$Hib

FemGrant$Hib(String action,
             boolean withGrantOption)
Method Detail

getAction$Hib

public String getAction$Hib()

setAction$Hib

public void setAction$Hib(String newValue)

getAction

public String getAction()
Description copied from interface: FemGrant
Returns the value of attribute action.

Specified by:
getAction in interface FemGrant
Returns:
Value of attribute action.

setAction

public void setAction(String newValue)
Description copied from interface: FemGrant
Sets the value of action attribute. See FemGrant.getAction() for description on the attribute.

Specified by:
setAction in interface FemGrant
Parameters:
newValue - New value to be set.

getWithGrantOption$Hib

public Boolean getWithGrantOption$Hib()

setWithGrantOption$Hib

public void setWithGrantOption$Hib(Boolean newValue)

isWithGrantOption

public boolean isWithGrantOption()
Description copied from interface: FemGrant
Returns the value of attribute withGrantOption.

Specified by:
isWithGrantOption in interface FemGrant
Returns:
Value of attribute withGrantOption.

setWithGrantOption

public void setWithGrantOption(boolean newValue)
Description copied from interface: FemGrant
Sets the value of withGrantOption attribute. See FemGrant.isWithGrantOption() for description on the attribute.

Specified by:
setWithGrantOption in interface FemGrant
Parameters:
newValue - New value to be set.

getElement

public CwmModelElement getElement()
Description copied from interface: FemGrant
Returns the value of reference Element.

Specified by:
getElement in interface FemGrant
Returns:
Value of reference Element.

setElement

public void setElement(CwmModelElement newValue)
Description copied from interface: FemGrant
Sets the value of Element reference. See FemGrant.getElement() for description on the attribute.

Specified by:
setElement in interface FemGrant
Parameters:
newValue - New value to be set.

getElement$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getElement$Hib()

setElement$Hib

public void setElement$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getGrantor

public FemAuthId getGrantor()
Description copied from interface: FemGrant
Returns the value of reference Grantor.

Specified by:
getGrantor in interface FemGrant
Returns:
Value of reference Grantor.

setGrantor

public void setGrantor(FemAuthId newValue)
Description copied from interface: FemGrant
Sets the value of Grantor reference. See FemGrant.getGrantor() for description on the attribute.

Specified by:
setGrantor in interface FemGrant
Parameters:
newValue - New value to be set.

getGrantor$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getGrantor$Hib()

setGrantor$Hib

public void setGrantor$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getGrantee

public FemAuthId getGrantee()
Description copied from interface: FemGrant
Returns the value of reference Grantee.

Specified by:
getGrantee in interface FemGrant
Returns:
Value of reference Grantee.

setGrantee

public void setGrantee(FemAuthId newValue)
Description copied from interface: FemGrant
Sets the value of Grantee reference. See FemGrant.getGrantee() for description on the attribute.

Specified by:
setGrantee in interface FemGrant
Parameters:
newValue - New value to be set.

getGrantee$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getGrantee$Hib()

setGrantee$Hib

public void setGrantee$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