Package | Description |
---|---|
com.neurosys.refs.domain |
Introduction
|
com.neurosys.refs.transformers | |
com.neurosys.refs.utils |
Modifier and Type | Class and Description |
---|---|
class |
ActivityRef
Reference to an event or activity that has a physical or meta-physical presence. |
class |
AffiliateRef
This represents
Reference to an Affiliate org, or person |
class |
DataRef
Reference to Some data. |
class |
DesignationRef
This represents add the
DesignationRef s PersonRef s may have |
class |
OrganizationRef
This represents a
Reference to an Organization |
class |
PersonOrgRef
This represents references that can be a
PersonRef or an OrganizationRef . |
class |
PersonRef
This represents all people that we maintain ref-integrity with other entities.
A Reference to a PersonRef can have Reference.getParent() as OrganizationRef and Reference.getRelated() as DesignationRef |
class |
PlaceRef
Reference to a place , venue etc. |
class |
PointRef
Represents the
Reference of a PlaceRef with GeoLocation
of any Place.WARN : A PointRef should not have the same reference name as any order place |
class |
Reference |
class |
ThingRef
Reference to Some thing. |
Modifier and Type | Method and Description |
---|---|
AbstractReference |
Reference.getParent()
if this Reference has any parent (main) association.
Example: A.R Rahman is a "Music Director". |
abstract AbstractReference |
AbstractReference.getParent()
if this Reference has any parent (main) association.
Example: A.R Rahman is a "Music Director". |
AbstractReference |
ReferenceAlias.getReference()
The reference that we wish to check has mapping to which other references
|
AbstractReference |
ReferenceAliasKey.getReference() |
AbstractReference |
ReferenceAlias.getRelated()
The
Reference this ref is related to. |
AbstractReference |
ReferenceAliasKey.getRelated() |
Modifier and Type | Method and Description |
---|---|
List<AbstractReference> |
Reference.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. |
abstract List<AbstractReference> |
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. |
Modifier and Type | Method and Description |
---|---|
void |
Reference.setParent(AbstractReference parent)
if this Reference has any parent (main) association.
Example: A.R Rahman is a "Music Director". |
abstract void |
AbstractReference.setParent(AbstractReference parent)
if this Reference has any parent (main) association.
Example: A.R Rahman is a "Music Director". |
void |
ReferenceAlias.setReference(AbstractReference reference)
The reference that we wish to check has mapping to which other references
|
void |
ReferenceAliasKey.setReference(AbstractReference reference) |
void |
ReferenceAlias.setRelated(AbstractReference related)
The
Reference this ref is related to. |
void |
ReferenceAliasKey.setRelated(AbstractReference related) |
Modifier and Type | Method and Description |
---|---|
void |
Reference.setRelated(List<AbstractReference> related)
Any references this object has in
ReferenceAlias .However will not be persisted; for that use ReferenceAlias explicitly |
abstract void |
AbstractReference.setRelated(List<AbstractReference> related)
Any references this object has in
ReferenceAlias .However will not be persisted; for that use ReferenceAlias explicitly |
Constructor and Description |
---|
AbstractReference(AbstractReference t) |
ReferenceAlias(AbstractReference reference,
AbstractReference related) |
Modifier and Type | Class and Description |
---|---|
class |
ReferencePersistTransformer<R extends AbstractReference>
Persist a
Reference and all its relations like Reference#setParent(Reference) and Reference.setRelated(List) .Takes a Reference type and returns a Reference type. |
Modifier and Type | Method and Description |
---|---|
protected AbstractReference |
ReferencePersistTransformer.persistRelation(AbstractReference ref)
Handle Persistence of Relation type,
Reference#setParent(Reference) or Reference.setRelated(List) |
Modifier and Type | Method and Description |
---|---|
protected AbstractReference |
ReferencePersistTransformer.persistRelation(AbstractReference ref)
Handle Persistence of Relation type,
Reference#setParent(Reference) or Reference.setRelated(List) |
Modifier and Type | Method and Description |
---|---|
static String |
RefUtils.generateGUID(AbstractReference ref) |
Copyright © 2018. All rights reserved.