public class DeployInheritInfo extends Object
| Constructor and Description |
|---|
DeployInheritInfo(Class<?> type)
Create for a given type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(DeployInheritInfo childInfo)
Add a child node.
|
Iterator<DeployInheritInfo> |
children()
Return the child nodes.
|
String |
getDiscriminatorColumn(InheritInfo parent)
Return the column name of the discriminator.
|
int |
getDiscriminatorLength()
Return the length of the discriminator column.
|
int |
getDiscriminatorLength(InheritInfo parent) |
Object |
getDiscriminatorObjectValue()
Return the discriminator value for this node.
|
String |
getDiscriminatorStringValue() |
int |
getDiscriminatorType(InheritInfo parent)
Return the sql type of the discriminator value.
|
String |
getDiscriminatorWhere()
Return the derived where for the discriminator.
|
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 |
setDiscriminatorColumn(String discriminatorColumn)
Set the column name of the discriminator.
|
void |
setDiscriminatorLength(int discriminatorLength)
Set the length of the discriminator column.
|
void |
setDiscriminatorType(int discriminatorType)
Set the sql type of the discriminator.
|
void |
setDiscriminatorValue(String value)
Set the discriminator value for this node.
|
void |
setDiscriminatorWhere(String discriminatorWhere)
Set the derived where for the discriminator.
|
void |
setParent(Class<?> parent)
Set the type of the root object.
|
String |
toString() |
public DeployInheritInfo(Class<?> type)
public Class<?> getType()
public Class<?> getParent()
public void setParent(Class<?> parent)
public boolean isAbstract()
public boolean isRoot()
public Iterator<DeployInheritInfo> children()
public void addChild(DeployInheritInfo childInfo)
public String getDiscriminatorWhere()
public void setDiscriminatorWhere(String discriminatorWhere)
public String getDiscriminatorColumn(InheritInfo parent)
public void setDiscriminatorColumn(String discriminatorColumn)
public int getDiscriminatorLength(InheritInfo parent)
public int getDiscriminatorType(InheritInfo parent)
public void setDiscriminatorType(int discriminatorType)
public int getDiscriminatorLength()
public void setDiscriminatorLength(int discriminatorLength)
public Object getDiscriminatorObjectValue()
public String getDiscriminatorStringValue()
public void setDiscriminatorValue(String value)
public String getWhere()
Copyright © 2014. All Rights Reserved.