public class ReferenceBean extends Object
| Constructor and Description |
|---|
ReferenceBean() |
ReferenceBean(ch.rasc.extclassgenerator.ReferenceConfig reference) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssociation() |
String |
getChild() |
String |
getInverse() |
String |
getParent() |
String |
getRole() |
String |
getType() |
boolean |
hasAnyProperties() |
void |
setAssociation(String association)
The name of the association.
|
void |
setChild(String child)
Set this property instead of reference.type to indicate that the referenced entity
is an owned child of this entity.
|
void |
setInverse(String inverse)
The name of the inverse role (of this entity with respect to the reference entity).
|
void |
setParent(String parent)
Set this property instead of reference.type to indicate that the referenced entity
is the owning parent of this entity.
|
void |
setRole(String role)
The name of the role played by the referenced entity.
|
void |
setType(String type)
The type which this field references.
|
boolean |
typeOnly() |
public ReferenceBean()
public ReferenceBean(ch.rasc.extclassgenerator.ReferenceConfig reference)
public boolean hasAnyProperties()
public boolean typeOnly()
public String getType()
public void setType(String type)
public String getAssociation()
public void setAssociation(String association)
public String getChild()
public void setChild(String child)
public String getParent()
public void setParent(String parent)
public String getRole()
public void setRole(String role)
public String getInverse()
public void setInverse(String inverse)
Copyright © 2013–2015. All rights reserved.