Class PdoWrapper
java.lang.Object
org.tentackle.maven.plugin.wizard.pdodata.PdoWrapper
Wrapper for a PDO.
Adds the UDK property.
Adds the UDK property.
-
Constructor Summary
ConstructorsConstructorDescriptionPdoWrapper(org.tentackle.pdo.PersistentDomainObject<?> pdo) Creates a wrapper. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the code configuration.Gets the data object tree.longgetId()Gets the object ID.org.tentackle.pdo.PersistentDomainObject<?> getPdo()Gets the wrapped PDO.getUDK()Gets the unique domain key string.
If the PDO implementsShortLongText, the long description is added in parentheses.inthashCode()
-
Constructor Details
-
PdoWrapper
public PdoWrapper(org.tentackle.pdo.PersistentDomainObject<?> pdo) Creates a wrapper.- Parameters:
pdo- the PDO
-
-
Method Details
-
getPdo
public org.tentackle.pdo.PersistentDomainObject<?> getPdo()Gets the wrapped PDO.- Returns:
- the PDO
-
getDataObject
Gets the data object tree.- Returns:
- the tree
-
getCodeConfiguration
Gets the code configuration.- Returns:
- the config map, empty if no configuration available
-
getId
@Bindable public long getId()Gets the object ID.- Returns:
- the ID
-
getUDK
Gets the unique domain key string.
If the PDO implementsShortLongText, the long description is added in parentheses.- Returns:
- the UDK, empty string if none
-
equals
-
hashCode
public int hashCode()
-