public class DDBSEntityProperty
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DDBSEntityIDProperty |
ddbsEntityIDProperty
ID Property : null if the field is not an id
|
protected DDBSToolkitSupportedEntity |
ddbsToolkitSupportedEntity
Type of the property
|
protected int |
fieldIndex
Reflection field index
|
protected int |
getterIndex
Reflection getter index
|
protected boolean |
isArray
Indicates if the property is an array
|
protected boolean |
isEncapsulated
Indicate if the field is encapsulated with getter and setter
|
protected java.lang.String |
name
Name of the property
|
protected java.lang.String |
propertyName
Name of the property: if table or predicate are different
|
protected int |
setterIndex
Reflection setter index
|
protected java.lang.String |
type
Property type
|
Constructor and Description |
---|
DDBSEntityProperty() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
DDBSEntityIDProperty |
getDdbsEntityIDProperty()
Get DDBS Entity ID Property
|
DDBSToolkitSupportedEntity |
getDdbsToolkitSupportedEntity()
Get DDBSToolkitSupported Entity
|
int |
getFieldIndex()
Get Field index
|
int |
getGetterIndex()
Get Getter index
|
java.lang.String |
getName()
Get the name of the property
|
java.lang.String |
getObjectTypeName()
Get object type name
|
java.lang.String |
getPropertyName()
Get the name of the property in a database or data source
|
int |
getSetterIndex()
Get Setter index
|
java.lang.String |
getType()
Get the type of the property
|
java.lang.Object |
getValue(IEntity iEntity)
Get value of the object
|
boolean |
isArray()
Indicates if the property is an array
|
boolean |
isEncapsulated()
Indicates if the property is encapsulated
|
boolean |
isIDEntity()
Indicates if it's an ID Entity
|
void |
setArray(boolean isArray)
Set if the element is an array
|
void |
setDdbsEntityIDProperty(DDBSEntityIDProperty ddbsEntityIDProperty)
Set the DDBS Toolkit ID property
|
void |
setDdbsToolkitSupportedEntity(DDBSToolkitSupportedEntity ddbsToolkitSupportedEntity)
Set the DDBS Toolkit Supporty entity
|
void |
setEncapsulated(boolean isEncapsulated)
Set the encapsulated property
|
void |
setFieldIndex(int fieldIndex)
Set the field index
|
void |
setGetterIndex(int getterIndex)
Set the getter index
|
void |
setName(java.lang.String name)
Set the name
|
void |
setPropertyName(java.lang.String propertyName)
Set the property name
|
void |
setSetterIndex(int setterIndex)
Set the setterIndex index
|
void |
setType(java.lang.String type)
Set the property type
|
void |
setValue(IEntity iEntity,
java.lang.Object object)
Set value of the object
|
java.lang.String |
toString() |
protected boolean isArray
protected java.lang.String name
protected java.lang.String propertyName
protected java.lang.String type
protected DDBSToolkitSupportedEntity ddbsToolkitSupportedEntity
protected int fieldIndex
protected int getterIndex
protected int setterIndex
protected DDBSEntityIDProperty ddbsEntityIDProperty
protected boolean isEncapsulated
public java.lang.String getObjectTypeName()
public java.lang.Object getValue(IEntity iEntity)
iEntity
- Entitypublic void setValue(IEntity iEntity, java.lang.Object object)
iEntity
- Entityobject
- Objectpublic java.lang.String getType()
public java.lang.String getName()
public boolean isArray()
public DDBSToolkitSupportedEntity getDdbsToolkitSupportedEntity()
public java.lang.String getPropertyName()
public void setArray(boolean isArray)
isArray
- Boolean indicating if the element is an arraypublic void setName(java.lang.String name)
name
- namepublic void setPropertyName(java.lang.String propertyName)
propertyName
- Property namepublic void setType(java.lang.String type)
type
- Property typepublic void setDdbsToolkitSupportedEntity(DDBSToolkitSupportedEntity ddbsToolkitSupportedEntity)
ddbsToolkitSupportedEntity
- DDBS Toolkit Supporty entitypublic DDBSEntityIDProperty getDdbsEntityIDProperty()
public void setDdbsEntityIDProperty(DDBSEntityIDProperty ddbsEntityIDProperty)
ddbsEntityIDProperty
- DDBS Toolkit ID propertypublic boolean isIDEntity()
public int getFieldIndex()
public void setFieldIndex(int fieldIndex)
fieldIndex
- Field indexpublic boolean isEncapsulated()
public void setEncapsulated(boolean isEncapsulated)
isEncapsulated
- encapsulated propertypublic int getGetterIndex()
public void setGetterIndex(int getterIndex)
getterIndex
- Getter indexpublic int getSetterIndex()
public void setSetterIndex(int setterIndex)
setterIndex
- Setter indexpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object