class SqlMappingAttribute extends Object
Modifier and Type | Field and Description |
---|---|
private String |
fullName
The full name of an attribute in the result class.
|
private String |
name
The partial name of an attribute in the result class.
|
private SqlMappingItem |
parent
The pointer back to the parent.
|
Constructor and Description |
---|
SqlMappingAttribute(SqlMappingItem parent,
String fullName,
String name)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
(package private) String |
getFullName()
Returns the full name of an attribute.
|
(package private) String |
getName()
Returns the partial name of an attribute.
|
(package private) SqlMappingItem |
getParent()
Returns the pointer back to the parent.
|
(package private) void |
setFullName(String fullName)
Sets the full name of an attribute.
|
(package private) void |
setName(String name)
Sets the partial name of an attribute.
|
(package private) void |
setParent(SqlMappingItem parent)
Sets the pointer back to the parent.
|
(package private) void |
setValues(String value,
String value2)
Sets the modifiers.
|
String |
toString()
For debug purposes.
|
private SqlMappingItem parent
private String fullName
private String name
SqlMappingAttribute(SqlMappingItem parent, String fullName, String name)
parent
- the pointer back to the ownerfullName
- the full name of an attribute in the result classname
- the partial name of an attribute in the result classvoid setValues(String value, String value2)
value
- the value for a special treatment, might be an identifier of value2value2
- the value for a special treatment, might be an attribute typeString getName()
void setName(String name)
name
- the partial name of an attributeString getFullName()
void setFullName(String fullName)
fullName
- the full name of an attributeSqlMappingItem getParent()
void setParent(SqlMappingItem parent)
parent
- the pointer back to the parentCopyright © 2014. All Rights Reserved.