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

public class FemFarragoConfig$Hib
extends HibernateRefObject
implements FemFarragoConfig, HibernateAssociable

FarragoConfig object instance interface.

FarragoConfig defines top-level configuration parameters for Farrago.  Each attribute corresponds to an individual parameter.  TODO:  fill in documentation for all parameters.

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 calcVirtualMachine$Hib
           
protected  Integer checkpointInterval$Hib
           
protected  Long codeCacheMaxBytes$Hib
           
protected  Long connectionTimeoutMillis$Hib
           
protected  HibernateOneToOneLazyAssociation fennelConfig$Hib
           
protected  Boolean fennelDisabled$Hib
           
protected  String javaCompilerClassName$Hib
           
protected  String name$Hib
           
protected  Integer serverRmiRegistryPort$Hib
           
protected  Integer serverSingleListenerPort$Hib
           
protected  Boolean userCatalogEnabled$Hib
           
 
Constructor Summary
FemFarragoConfig$Hib()
           
FemFarragoConfig$Hib(String name, boolean fennelDisabled, boolean userCatalogEnabled, long codeCacheMaxBytes, int checkpointInterval, int serverRmiRegistryPort, int serverSingleListenerPort, CalcVirtualMachine calcVirtualMachine, String javaCompilerClassName, Long connectionTimeoutMillis)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 CalcVirtualMachine getCalcVirtualMachine()
          Returns the value of attribute calcVirtualMachine.
 String getCalcVirtualMachine$Hib()
           
 int getCheckpointInterval()
          Returns the value of attribute checkpointInterval.
 Integer getCheckpointInterval$Hib()
           
 String getClassIdentifier()
           
 long getCodeCacheMaxBytes()
          Returns the value of attribute codeCacheMaxBytes.
 Long getCodeCacheMaxBytes$Hib()
           
 Collection<HibernateAssociation> getComposingAssociations()
           
 Long getConnectionTimeoutMillis()
          Returns the value of attribute connectionTimeoutMillis.
 Long getConnectionTimeoutMillis$Hib()
           
 FemFennelConfig getFennelConfig()
          Returns the value of reference FennelConfig.
 HibernateOneToOneLazyAssociation getFennelConfig$Hib()
           
 Boolean getFennelDisabled$Hib()
           
 String getJavaCompilerClassName()
          Returns the value of attribute javaCompilerClassName.
 String getJavaCompilerClassName$Hib()
           
 String getName()
          Returns the value of attribute name.
 String getName$Hib()
           
 Collection<HibernateAssociation> getNonComposingAssociations()
           
 HibernateAssociation getOrCreateAssociation(String type, boolean firstEnd)
           
 int getServerRmiRegistryPort()
          Returns the value of attribute serverRmiRegistryPort.
 Integer getServerRmiRegistryPort$Hib()
           
 int getServerSingleListenerPort()
          Returns the value of attribute serverSingleListenerPort.
 Integer getServerSingleListenerPort$Hib()
           
 Boolean getUserCatalogEnabled$Hib()
           
 boolean isFennelDisabled()
          Returns the value of attribute fennelDisabled.
 boolean isUserCatalogEnabled()
          Returns the value of attribute userCatalogEnabled.
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setCalcVirtualMachine(CalcVirtualMachine newValue)
          Sets the value of calcVirtualMachine attribute.
 void setCalcVirtualMachine$Hib(String newValue)
           
 void setCheckpointInterval(int newValue)
          Sets the value of checkpointInterval attribute.
 void setCheckpointInterval$Hib(Integer newValue)
           
 void setCodeCacheMaxBytes(long newValue)
          Sets the value of codeCacheMaxBytes attribute.
 void setCodeCacheMaxBytes$Hib(Long newValue)
           
 void setConnectionTimeoutMillis(Long newValue)
          Sets the value of connectionTimeoutMillis attribute.
 void setConnectionTimeoutMillis$Hib(Long newValue)
           
 void setFennelConfig(FemFennelConfig newValue)
          Sets the value of FennelConfig reference.
 void setFennelConfig$Hib(HibernateOneToOneLazyAssociation newValue)
           
 void setFennelDisabled(boolean newValue)
          Sets the value of fennelDisabled attribute.
 void setFennelDisabled$Hib(Boolean newValue)
           
 void setJavaCompilerClassName(String newValue)
          Sets the value of javaCompilerClassName attribute.
 void setJavaCompilerClassName$Hib(String newValue)
           
 void setName$Hib(String newValue)
           
 void setServerRmiRegistryPort(int newValue)
          Sets the value of serverRmiRegistryPort attribute.
 void setServerRmiRegistryPort$Hib(Integer newValue)
           
 void setServerSingleListenerPort(int newValue)
          Sets the value of serverSingleListenerPort attribute.
 void setServerSingleListenerPort$Hib(Integer newValue)
           
 void setUserCatalogEnabled(boolean newValue)
          Sets the value of userCatalogEnabled attribute.
 void setUserCatalogEnabled$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 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

fennelDisabled$Hib

protected Boolean fennelDisabled$Hib

userCatalogEnabled$Hib

protected Boolean userCatalogEnabled$Hib

codeCacheMaxBytes$Hib

protected Long codeCacheMaxBytes$Hib

checkpointInterval$Hib

protected Integer checkpointInterval$Hib

serverRmiRegistryPort$Hib

protected Integer serverRmiRegistryPort$Hib

serverSingleListenerPort$Hib

protected Integer serverSingleListenerPort$Hib

calcVirtualMachine$Hib

protected String calcVirtualMachine$Hib

javaCompilerClassName$Hib

protected String javaCompilerClassName$Hib

connectionTimeoutMillis$Hib

protected Long connectionTimeoutMillis$Hib

fennelConfig$Hib

protected HibernateOneToOneLazyAssociation fennelConfig$Hib
Constructor Detail

FemFarragoConfig$Hib

FemFarragoConfig$Hib()

FemFarragoConfig$Hib

FemFarragoConfig$Hib(String name,
                     boolean fennelDisabled,
                     boolean userCatalogEnabled,
                     long codeCacheMaxBytes,
                     int checkpointInterval,
                     int serverRmiRegistryPort,
                     int serverSingleListenerPort,
                     CalcVirtualMachine calcVirtualMachine,
                     String javaCompilerClassName,
                     Long connectionTimeoutMillis)
Method Detail

getName$Hib

public String getName$Hib()

setName$Hib

public void setName$Hib(String newValue)

getName

public String getName()
Description copied from interface: FemFarragoConfig
Returns the value of attribute name.

Represents the name of this configuration.  Multiple named configurations will be possible one day.

Specified by:
getName in interface FemFarragoConfig
Returns:
Value of attribute name.

getFennelDisabled$Hib

public Boolean getFennelDisabled$Hib()

setFennelDisabled$Hib

public void setFennelDisabled$Hib(Boolean newValue)

isFennelDisabled

public boolean isFennelDisabled()
Description copied from interface: FemFarragoConfig
Returns the value of attribute fennelDisabled.

Controls whether all access to Fennel storage should be disabled.

Specified by:
isFennelDisabled in interface FemFarragoConfig
Returns:
Value of attribute fennelDisabled.

setFennelDisabled

public void setFennelDisabled(boolean newValue)
Description copied from interface: FemFarragoConfig
Sets the value of fennelDisabled attribute. See FemFarragoConfig.isFennelDisabled() for description on the attribute.

Specified by:
setFennelDisabled in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getUserCatalogEnabled$Hib

public Boolean getUserCatalogEnabled$Hib()

setUserCatalogEnabled$Hib

public void setUserCatalogEnabled$Hib(Boolean newValue)

isUserCatalogEnabled

public boolean isUserCatalogEnabled()
Description copied from interface: FemFarragoConfig
Returns the value of attribute userCatalogEnabled.

Whether the user catalog has been enabled yet for this database.

Specified by:
isUserCatalogEnabled in interface FemFarragoConfig
Returns:
Value of attribute userCatalogEnabled.

setUserCatalogEnabled

public void setUserCatalogEnabled(boolean newValue)
Description copied from interface: FemFarragoConfig
Sets the value of userCatalogEnabled attribute. See FemFarragoConfig.isUserCatalogEnabled() for description on the attribute.

Specified by:
setUserCatalogEnabled in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getCodeCacheMaxBytes$Hib

public Long getCodeCacheMaxBytes$Hib()

setCodeCacheMaxBytes$Hib

public void setCodeCacheMaxBytes$Hib(Long newValue)

getCodeCacheMaxBytes

public long getCodeCacheMaxBytes()
Description copied from interface: FemFarragoConfig
Returns the value of attribute codeCacheMaxBytes.

Specified by:
getCodeCacheMaxBytes in interface FemFarragoConfig
Returns:
Value of attribute codeCacheMaxBytes.

setCodeCacheMaxBytes

public void setCodeCacheMaxBytes(long newValue)
Description copied from interface: FemFarragoConfig
Sets the value of codeCacheMaxBytes attribute. See FemFarragoConfig.getCodeCacheMaxBytes() for description on the attribute.

Specified by:
setCodeCacheMaxBytes in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getCheckpointInterval$Hib

public Integer getCheckpointInterval$Hib()

setCheckpointInterval$Hib

public void setCheckpointInterval$Hib(Integer newValue)

getCheckpointInterval

public int getCheckpointInterval()
Description copied from interface: FemFarragoConfig
Returns the value of attribute checkpointInterval.

Specified by:
getCheckpointInterval in interface FemFarragoConfig
Returns:
Value of attribute checkpointInterval.

setCheckpointInterval

public void setCheckpointInterval(int newValue)
Description copied from interface: FemFarragoConfig
Sets the value of checkpointInterval attribute. See FemFarragoConfig.getCheckpointInterval() for description on the attribute.

Specified by:
setCheckpointInterval in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getServerRmiRegistryPort$Hib

public Integer getServerRmiRegistryPort$Hib()

setServerRmiRegistryPort$Hib

public void setServerRmiRegistryPort$Hib(Integer newValue)

getServerRmiRegistryPort

public int getServerRmiRegistryPort()
Description copied from interface: FemFarragoConfig
Returns the value of attribute serverRmiRegistryPort.

Specified by:
getServerRmiRegistryPort in interface FemFarragoConfig
Returns:
Value of attribute serverRmiRegistryPort.

setServerRmiRegistryPort

public void setServerRmiRegistryPort(int newValue)
Description copied from interface: FemFarragoConfig
Sets the value of serverRmiRegistryPort attribute. See FemFarragoConfig.getServerRmiRegistryPort() for description on the attribute.

Specified by:
setServerRmiRegistryPort in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getServerSingleListenerPort$Hib

public Integer getServerSingleListenerPort$Hib()

setServerSingleListenerPort$Hib

public void setServerSingleListenerPort$Hib(Integer newValue)

getServerSingleListenerPort

public int getServerSingleListenerPort()
Description copied from interface: FemFarragoConfig
Returns the value of attribute serverSingleListenerPort.

Specified by:
getServerSingleListenerPort in interface FemFarragoConfig
Returns:
Value of attribute serverSingleListenerPort.

setServerSingleListenerPort

public void setServerSingleListenerPort(int newValue)
Description copied from interface: FemFarragoConfig
Sets the value of serverSingleListenerPort attribute. See FemFarragoConfig.getServerSingleListenerPort() for description on the attribute.

Specified by:
setServerSingleListenerPort in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getCalcVirtualMachine$Hib

public String getCalcVirtualMachine$Hib()

setCalcVirtualMachine$Hib

public void setCalcVirtualMachine$Hib(String newValue)

getCalcVirtualMachine

public CalcVirtualMachine getCalcVirtualMachine()
Description copied from interface: FemFarragoConfig
Returns the value of attribute calcVirtualMachine.

Specified by:
getCalcVirtualMachine in interface FemFarragoConfig
Returns:
Value of attribute calcVirtualMachine.

setCalcVirtualMachine

public void setCalcVirtualMachine(CalcVirtualMachine newValue)
Description copied from interface: FemFarragoConfig
Sets the value of calcVirtualMachine attribute. See FemFarragoConfig.getCalcVirtualMachine() for description on the attribute.

Specified by:
setCalcVirtualMachine in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getJavaCompilerClassName$Hib

public String getJavaCompilerClassName$Hib()

setJavaCompilerClassName$Hib

public void setJavaCompilerClassName$Hib(String newValue)

getJavaCompilerClassName

public String getJavaCompilerClassName()
Description copied from interface: FemFarragoConfig
Returns the value of attribute javaCompilerClassName.

Specified by:
getJavaCompilerClassName in interface FemFarragoConfig
Returns:
Value of attribute javaCompilerClassName.

setJavaCompilerClassName

public void setJavaCompilerClassName(String newValue)
Description copied from interface: FemFarragoConfig
Sets the value of javaCompilerClassName attribute. See FemFarragoConfig.getJavaCompilerClassName() for description on the attribute.

Specified by:
setJavaCompilerClassName in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getConnectionTimeoutMillis$Hib

public Long getConnectionTimeoutMillis$Hib()

setConnectionTimeoutMillis$Hib

public void setConnectionTimeoutMillis$Hib(Long newValue)

getConnectionTimeoutMillis

public Long getConnectionTimeoutMillis()
Description copied from interface: FemFarragoConfig
Returns the value of attribute connectionTimeoutMillis.

Specified by:
getConnectionTimeoutMillis in interface FemFarragoConfig
Returns:
Value of attribute connectionTimeoutMillis.

setConnectionTimeoutMillis

public void setConnectionTimeoutMillis(Long newValue)
Description copied from interface: FemFarragoConfig
Sets the value of connectionTimeoutMillis attribute. See FemFarragoConfig.getConnectionTimeoutMillis() for description on the attribute.

Specified by:
setConnectionTimeoutMillis in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getFennelConfig

public FemFennelConfig getFennelConfig()
Description copied from interface: FemFarragoConfig
Returns the value of reference FennelConfig.

Specified by:
getFennelConfig in interface FemFarragoConfig
Returns:
Value of reference FennelConfig.

setFennelConfig

public void setFennelConfig(FemFennelConfig newValue)
Description copied from interface: FemFarragoConfig
Sets the value of FennelConfig reference. See FemFarragoConfig.getFennelConfig() for description on the attribute.

Specified by:
setFennelConfig in interface FemFarragoConfig
Parameters:
newValue - New value to be set.

getFennelConfig$Hib

public HibernateOneToOneLazyAssociation getFennelConfig$Hib()

setFennelConfig$Hib

public void setFennelConfig$Hib(HibernateOneToOneLazyAssociation 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