Class DeployInheritInfo
- java.lang.Object
-
- io.ebeaninternal.server.deploy.parse.DeployInheritInfo
-
public class DeployInheritInfo extends Object
Represents a node in the Inheritance tree. Holds information regarding Super Subclass support.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(DeployInheritInfo childInfo)
Add a child node.List<DeployInheritInfo>
children()
Return the child nodes.String
getColumnDefn()
Return the explicit column definition.int
getColumnLength(InheritInfo parent)
String
getColumnName(InheritInfo parent)
Return the column name of the discriminator.Object
getDiscriminatorObjectValue()
Return the discriminator value for this node.String
getDiscriminatorStringValue()
int
getDiscriminatorType(InheritInfo parent)
Return the sql type of the discriminator value.Class<?>
getParent()
Return the type of the root object.Class<?>
getType()
return the type.String
getWhere()
boolean
isAbstract()
Return true if this is abstract node.boolean
isRoot()
Return true if this is the root node.void
setColumnName(String columnName)
Set the column name of the discriminator.void
setDiscriminatorDefaultValue(Class<?> cls)
void
setParent(Class<?> parent)
Set the type of the root object.String
toString()
-
-
-
Method Detail
-
isAbstract
public boolean isAbstract()
Return true if this is abstract node.
-
isRoot
public boolean isRoot()
Return true if this is the root node.
-
children
public List<DeployInheritInfo> children()
Return the child nodes.
-
addChild
public void addChild(DeployInheritInfo childInfo)
Add a child node.
-
getColumnName
public String getColumnName(InheritInfo parent)
Return the column name of the discriminator.
-
setColumnName
public void setColumnName(String columnName)
Set the column name of the discriminator.
-
getColumnLength
public int getColumnLength(InheritInfo parent)
-
getDiscriminatorType
public int getDiscriminatorType(InheritInfo parent)
Return the sql type of the discriminator value.
-
getColumnDefn
public String getColumnDefn()
Return the explicit column definition.
-
getDiscriminatorObjectValue
public Object getDiscriminatorObjectValue()
Return the discriminator value for this node.
-
getDiscriminatorStringValue
public String getDiscriminatorStringValue()
-
setDiscriminatorDefaultValue
public void setDiscriminatorDefaultValue(Class<?> cls)
-
-