com.pecasim.model
Class PropertyDescriptor
java.lang.Object
com.pecasim.model.PropertyDescriptor
- Direct Known Subclasses:
- ForeignPropertyDescriptor
public class PropertyDescriptor
- extends java.lang.Object
- Author:
- cbu
Attributbeschreibung eines DataObjectDescriptor
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyDescriptor
public PropertyDescriptor(java.lang.String aName,
DATATYPE aType)
PropertyDescriptor
public PropertyDescriptor(java.lang.String aName,
DATATYPE aType,
boolean aKeyProperty)
PropertyDescriptor
public PropertyDescriptor(java.lang.String aName,
DATATYPE aType,
boolean aKeyProperty,
boolean aUnique)
transform
public PropertyDescriptor transform(DataObjectDescriptor aTarget)
- Parameters:
aTarget:
- ->
null, when transform from foreignkey to simple property
- Returns:
- PropertyDescriptor: != null
getName
public java.lang.String getName()
getJavaName
public java.lang.String getJavaName()
getJavaParameterName
public java.lang.String getJavaParameterName()
setName
public void setName(java.lang.String aName)
getType
public DATATYPE getType()
setType
public void setType(DATATYPE aType)
isUnique
public boolean isUnique()
isKeyProperty
public boolean isKeyProperty()
setKeyProperty
public void setKeyProperty(boolean aIsKeyProperty)
getParent
public DataObjectDescriptor getParent()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDateFormat
public java.lang.String getDateFormat()
setDateFormat
public void setDateFormat(java.lang.String dateFormat)