public class RelatedEntityReference extends Reference implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected Referenceable |
referenceable |
protected static String |
relationship_Type |
KEY_RELATED_END_GUID, KEY_RELATIONSHIP_GUID, KEY_TYPENAME, KEY_UNIQUE_ATTRIBUTES, referenceName, relatedEndGuid, relatedEndType, relationshipGuid, uniqueAttributes| Constructor and Description |
|---|
RelatedEntityReference() |
RelatedEntityReference(Map objIdMap) |
RelatedEntityReference(Reference other) |
RelatedEntityReference(String guid) |
RelatedEntityReference(String relatedEndType,
Map<String,Object> uniqueAttributes) |
RelatedEntityReference(String entityGuid,
OMRSLine line)
Populate the reference from a relationship
|
RelatedEntityReference(String guid,
String relatedEndType) |
RelatedEntityReference(String guid,
String relatedEndType,
Map<String,Object> uniqueAttributes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Referenceable |
getReferenceable() |
String |
getSource()
Source of this property facet.
|
int |
hashCode() |
void |
setReferenceable(Referenceable referenceable) |
void |
setSource(String source) |
StringBuilder |
toString(StringBuilder sb) |
getReferenceName, getRelatedEndGuid, getRelatedEndType, getRelationship_Type, getRelationshipAttributes, getRelationshipGuid, getUniqueAttributes, setReferenceName, setRelatedEndGuid, setRelatedEndType, setRelationship_Type, setRelationshipAttributes, setRelationshipGuid, setUniqueAttributes, toStringprotected static final String relationship_Type
protected String name
protected Referenceable referenceable
public RelatedEntityReference()
public RelatedEntityReference(String guid)
public RelatedEntityReference(String relatedEndType, Map<String,Object> uniqueAttributes)
public RelatedEntityReference(String guid, String relatedEndType, Map<String,Object> uniqueAttributes)
public RelatedEntityReference(Reference other)
public RelatedEntityReference(String entityGuid, OMRSLine line)
entityGuid - String entity Guidline - OMRSLinepublic RelatedEntityReference(Map objIdMap)
public Referenceable getReferenceable()
public void setReferenceable(Referenceable referenceable)
public String getSource()
public void setSource(String source)
public StringBuilder toString(StringBuilder sb)
Copyright © 2018–2019 ODPi. All rights reserved.