|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Member
Nested Class Summary | |
---|---|
static class |
Member.CollectionType
|
static class |
Member.SpecialColumnType
|
Nested classes/interfaces inherited from interface org.hydrateframework.gen.schema.SchemaElement |
---|
SchemaElement.HighlightType |
Field Summary | |
---|---|
static int |
INUSE_CLASSDIAGRAM
|
static int |
INUSE_IMPLEMENT
|
static int |
INUSE_INTERFACE
|
static int |
INUSE_NEXT
|
static int |
INUSE_XMLSCHEMA
Create an instance of a member class that overrides this member. |
Method Summary | |
---|---|
Member.CollectionType |
collectionType()
The type of collection |
Member[] |
explode()
|
Type |
getCollectionOf()
The type of collection |
java.lang.String |
getComment()
A comment that describes the purpose of this member e.g. |
java.lang.String |
getJavaAttrName()
The java name of the attribute. |
java.lang.String |
getJavaEmptyValue()
The string that is the default value for this member in java |
java.lang.String |
getJavaNativeType()
True if this member's type is a java native type |
java.lang.String |
getJavaNotPopulatedValue()
The java constant that indicates that the member is 'not populated' |
java.lang.String |
getJavaNotSetValue()
The java constant that indicates that the member is 'not set'. |
java.lang.String |
getJavaPublicType()
The name of the type as presented in the external interface. |
java.lang.String |
getJavaSqlType()
|
java.lang.String |
getJavaStaticName()
The name of the static variable associated with this field in java. |
java.lang.String |
getJavaTypeName()
The name of the type in Java. |
java.lang.String |
getJavaVarName()
The java name of the member. |
int |
getLength()
Return the length of the member. |
java.lang.String |
getName()
The name of the member. |
int |
getPrecision()
Return the precision of the member. |
ClassDef |
getReferencingClassDef()
|
int |
getScale()
Return the precision of the member. |
Member.SpecialColumnType |
getSpecialColumnType()
True if this is an invisible field (such as an automatically generated primary key) |
java.lang.String |
getSQLTypeName(SQLWriter sqlWriter)
|
java.lang.String |
getTypeName()
The type name of the member. |
java.lang.String |
getXSDTypeName()
|
boolean |
isEnumeration()
|
boolean |
isInUse(int inContext)
true if this member is currently important to the dataset being used |
boolean |
isNavigable()
Only valid if isReference is true. |
boolean |
isOptional()
True if this is an optional member (may take the not set value) |
boolean |
isOwned()
True if this member is owned, or has is lifecycle encapsulated by the referencing object |
boolean |
isPersistent()
False if this is a transient field that is never stored in the database |
boolean |
isReference()
True if this member is a reference to another hydrate object |
boolean |
isSupressedLink()
true if this is a suppressed link that is not to be stored in the database |
boolean |
isToManyRef()
Only valid if isReference is true. |
java.lang.String |
writeAsString(java.lang.String obj)
|
java.lang.String |
writeCompareTwo(java.lang.String one,
java.lang.String two)
|
java.lang.String |
writeCvtFromJavaObj(java.lang.String obj)
|
java.lang.String |
writeCvtInternalToPublic(java.lang.String var)
Write code that will convert the internal representation of a variable into the public representation. |
java.lang.String |
writeCvtPublicToInternal(java.lang.String var)
Write code that will convert the public representation of a variable into the internal representation. |
java.lang.String |
writeFromString(java.lang.String obj)
|
java.lang.String |
writeHashCode(java.lang.String var)
|
java.lang.String |
writeJavaKeyField(java.lang.String varName)
|
java.lang.String |
writeJavaSqlRead(java.lang.String rs,
java.lang.String mbrIdx)
|
java.lang.String |
writeJavaSqlSet(java.lang.String stmt,
java.lang.String mbrIdx,
java.lang.String mbrVar)
|
java.lang.String |
writeJavaSqlUpdate(java.lang.String rs,
java.lang.String mbrIdx,
java.lang.String mbrVar)
|
java.lang.String |
writeUpdFromUnderlying(java.lang.String var)
|
void |
writeXSDType(SAXWriter wrt)
|
Methods inherited from interface org.hydrateframework.gen.schema.SchemaElement |
---|
getHighlightType, isValid, notifyUpdate, override, readFromXmlDoc, resolve, shouldWrite, toSummary, writeToXmlDoc |
Field Detail |
---|
static final int INUSE_XMLSCHEMA
static final int INUSE_CLASSDIAGRAM
static final int INUSE_INTERFACE
static final int INUSE_IMPLEMENT
static final int INUSE_NEXT
Method Detail |
---|
ClassDef getReferencingClassDef()
java.lang.String getName()
getName
in interface SchemaElement
java.lang.String getJavaVarName()
java.lang.String getTypeName()
java.lang.String getJavaTypeName()
java.lang.String getSQLTypeName(SQLWriter sqlWriter)
java.lang.String getJavaPublicType()
java.lang.String getJavaStaticName()
java.lang.String getJavaNotSetValue()
java.lang.String getJavaNotPopulatedValue()
java.lang.String getJavaAttrName()
java.lang.String getComment()
int getLength()
int getPrecision()
int getScale()
boolean isOptional()
boolean isOwned()
boolean isReference()
boolean isNavigable()
boolean isToManyRef()
Member.CollectionType collectionType()
Type getCollectionOf()
java.lang.String getJavaNativeType()
java.lang.String getJavaEmptyValue()
Member.SpecialColumnType getSpecialColumnType()
boolean isPersistent()
boolean isSupressedLink()
boolean isInUse(int inContext)
java.lang.String getJavaSqlType()
java.lang.String writeJavaSqlUpdate(java.lang.String rs, java.lang.String mbrIdx, java.lang.String mbrVar)
java.lang.String writeJavaSqlSet(java.lang.String stmt, java.lang.String mbrIdx, java.lang.String mbrVar)
java.lang.String writeJavaSqlRead(java.lang.String rs, java.lang.String mbrIdx)
java.lang.String writeCvtFromJavaObj(java.lang.String obj)
java.lang.String writeAsString(java.lang.String obj)
java.lang.String writeFromString(java.lang.String obj)
java.lang.String writeJavaKeyField(java.lang.String varName)
java.lang.String writeHashCode(java.lang.String var)
java.lang.String writeUpdFromUnderlying(java.lang.String var)
java.lang.String writeCvtInternalToPublic(java.lang.String var)
java.lang.String writeCvtPublicToInternal(java.lang.String var)
Member[] explode()
java.lang.String getXSDTypeName()
void writeXSDType(SAXWriter wrt) throws org.xml.sax.SAXException
org.xml.sax.SAXException
java.lang.String writeCompareTwo(java.lang.String one, java.lang.String two)
boolean isEnumeration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |