|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectijgen.generator.model.FieldDefinition
public class FieldDefinition
Class holding metadata information for a field in a class representing an object in model.
Constructor Summary | |
---|---|
FieldDefinition()
Default constructor |
Method Summary | |
---|---|
java.lang.String |
getColumnName()
Gets the column name that is used to map this field to database. |
FieldConstraints |
getFieldConstraints()
Gets the constraints for this field. |
FieldJoinInformation |
getFieldJoinInformation()
Gets the join information for this field. |
java.lang.String |
getFieldName()
Gets the name of the field. |
java.lang.String |
getFieldType()
Gets the field type. |
java.lang.String |
getGenericType()
Gets the generic type of the field (if any) |
boolean |
isPersisted()
Gets whether the field is persisted. |
boolean |
isPrimary()
Gets whether the field is primary. |
boolean |
isTransientField()
Gets whether the field is transient. |
boolean |
isUserExposed()
Gets whether the field has to be visible by the user. |
void |
setColumnName(java.lang.String columnName)
Sets the column name that is used to map this field to database. |
void |
setFieldConstraints(FieldConstraints fieldConstraints)
Sets the constraints for this field. |
void |
setFieldJoinInformation(FieldJoinInformation fieldJoinInformation)
Sets the join information for this field. |
void |
setFieldName(java.lang.String fieldName)
Sets the name of the field. |
void |
setFieldType(java.lang.String fieldType)
Sets the field type. |
void |
setGenericType(java.lang.String genericType)
Sets the generic type of the field. |
void |
setPersisted(boolean persisted)
Sets whether the field is persisted. |
void |
setPrimary(boolean primary)
Sets whether the field is primary. |
void |
setTransientField(boolean transientField)
Sets whether the field is transient. |
void |
setUserExposed(boolean userExposed)
Sets whether the field has to be visible by the user. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldDefinition()
Method Detail |
---|
public java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
fieldName
- field namepublic java.lang.String getFieldType()
public void setFieldType(java.lang.String fieldType)
fieldType
- field typepublic java.lang.String getGenericType()
public void setGenericType(java.lang.String genericType)
genericType
- generic typepublic boolean isPrimary()
public void setPrimary(boolean primary)
primary
- primarypublic boolean isPersisted()
public void setPersisted(boolean persisted)
persisted
- persistedpublic boolean isTransientField()
public void setTransientField(boolean transientField)
transientField
- transientpublic boolean isUserExposed()
public void setUserExposed(boolean userExposed)
userExposed
- exposedpublic java.lang.String getColumnName()
public void setColumnName(java.lang.String columnName)
columnName
- column namepublic FieldConstraints getFieldConstraints()
public void setFieldConstraints(FieldConstraints fieldConstraints)
fieldConstraints
- constraintspublic FieldJoinInformation getFieldJoinInformation()
public void setFieldJoinInformation(FieldJoinInformation fieldJoinInformation)
fieldJoinInformation
- join informationpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |