@Entity public class Reference extends AbstractReference
ROOT
Constructor and Description |
---|
Reference() |
Reference(Reference t) |
Reference(String name) |
Reference(String name,
Reference parent) |
Reference(String name,
String meta) |
Modifier and Type | Method and Description |
---|---|
AbstractReference |
getParent()
if this Reference has any parent (main) association.
Example: A.R Rahman is a "Music Director". |
String |
getParentId() |
List<AbstractReference> |
getRelated()
Any references this object has in
ReferenceAlias .However will not be persisted; for that use ReferenceAlias explicitly.NOTE: This is a Transient field currently, and one must explicitly populate it. |
void |
setParent(AbstractReference parent)
if this Reference has any parent (main) association.
Example: A.R Rahman is a "Music Director". |
void |
setParentId(String parentId) |
void |
setRelated(List<AbstractReference> related)
Any references this object has in
ReferenceAlias .However will not be persisted; for that use ReferenceAlias explicitly |
equals, getDisplayName, getHierarchy, getId, getMeta, getName, hashCode, setHierarchy, setId, setMeta, setName, toString
public Reference()
public Reference(String name)
public Reference(Reference t)
public AbstractReference getParent()
parent
is null).getParent
in class AbstractReference
public void setParent(AbstractReference parent)
parent
is null).setParent
in class AbstractReference
public List<AbstractReference> getRelated()
ReferenceAlias
.ReferenceAlias
explicitly.Transient
field currently, and one must explicitly populate it. TODO: Lazy load from ReferenceAlias
getRelated
in class AbstractReference
public void setRelated(List<AbstractReference> related)
ReferenceAlias
.ReferenceAlias
explicitlysetRelated
in class AbstractReference
public String getParentId()
public void setParentId(String parentId)
Copyright © 2018. All rights reserved.