net.sf.farrago.cwm.relational
Class CwmColumnClass$Hib
java.lang.Object
org.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefClassBase
org.eigenbase.enki.hibernate.jmi.HibernateRefClass
net.sf.farrago.cwm.relational.CwmColumnClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmColumnClass
public class CwmColumnClass$Hib
- extends HibernateRefClass
- implements CwmColumnClass
Column class proxy implementation.
A column in a result set, a view, a table, or an SQLStructuredType.
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.
Method Summary |
protected void |
checkConstraints(List<JmiException> errors,
boolean deepVerify)
|
CwmColumn |
createCwmColumn()
The default factory operation used to create an instance object. |
CwmColumn |
createCwmColumn(String name,
VisibilityKind visibility,
ScopeKind ownerScope,
ChangeableKind changeability,
CwmMultiplicity multiplicity,
OrderingKind ordering,
ScopeKind targetScope,
CwmExpression initialValue,
Integer precision,
Integer scale,
NullableType isNullable,
Integer length,
String collationName,
String characterSetName)
Creates an instance object having attributes initialized by the passed
values. |
String |
getAssociationColumnName(String type,
boolean firstEnd)
|
Collection<String> |
getAssociationColumnNames()
|
String |
getClassIdentifier()
|
String |
getQueryCacheRegion()
|
String |
getTable()
|
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 |
_id
private static final String _id
- See Also:
- Constant Field Values
_queryCacheRegion
private static final String _queryCacheRegion
- See Also:
- Constant Field Values
_table
private static final String _table
- See Also:
- Constant Field Values
CwmColumnClass$Hib
public CwmColumnClass$Hib(RefPackage container)
createCwmColumn
public CwmColumn createCwmColumn()
- Description copied from interface:
CwmColumnClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmColumn
in interface CwmColumnClass
- Returns:
- The created instance object.
createCwmColumn
public CwmColumn createCwmColumn(String name,
VisibilityKind visibility,
ScopeKind ownerScope,
ChangeableKind changeability,
CwmMultiplicity multiplicity,
OrderingKind ordering,
ScopeKind targetScope,
CwmExpression initialValue,
Integer precision,
Integer scale,
NullableType isNullable,
Integer length,
String collationName,
String characterSetName)
- Description copied from interface:
CwmColumnClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmColumn
in interface CwmColumnClass
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.ownerScope
- Specifies whether the Feature appears in every
instance of the Classifier or whether it appears only once for the
entire Classifier.changeability
- Specifies whether the value may be modified after
the object is created.multiplicity
- The possible number of data values for the feature
that may be held by an instance. The cardinality of the set of values
is an implicit part of the feature. In the common case in which the
multiplicity is 1..1, then the feature is a scalar (i.e., it holds
exactly one value).ordering
- Specifies whether the set of instances is ordered. The
ordering must be determined and maintained by Operations that add
values to the feature. This property is only relevant if the
multiplicity is greater than one.targetScope
- Specifies whether the targets are ordinary
Instances or are Classifiers.initialValue
- An Expression specifying the value of the
attribute upon initialization. It is meant to be evaluated at the time
the object is initialized. (Note that an explicit constructor may
supersede an initial value.)precision
- The total number of digits in the field.scale
- The number of digits on the right of the decimal
separator.isNullable
- Indicates if null values are valid in this column.
Note: Default values for Column data are provided in initialValue in
the UML Attribute class (the class from which the Column class
inherits).length
- The length of fixed length character or byte strings.
Maximum length if length is variable.collationName
- The name of the collation sequence used to sort
the data values in the column.
This applies only to columns whose datatype is a form of character
string.characterSetName
- The name of the character set used for the
values in the column.
This field applies only to columns whose datatype is a character
string.
- Returns:
- The created instance object.
checkConstraints
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
- Specified by:
checkConstraints
in class RefBaseObjectBase
getClassIdentifier
public String getClassIdentifier()
- Specified by:
getClassIdentifier
in class HibernateRefClass
getTable
public String getTable()
- Specified by:
getTable
in class HibernateRefClass
getQueryCacheRegion
public String getQueryCacheRegion()
- Specified by:
getQueryCacheRegion
in class HibernateRefClass
getAssociationColumnName
public String getAssociationColumnName(String type,
boolean firstEnd)
- Specified by:
getAssociationColumnName
in class HibernateRefClass
getAssociationColumnNames
public Collection<String> getAssociationColumnNames()
- Specified by:
getAssociationColumnNames
in class HibernateRefClass