public class ResourceReference 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 |
|---|
ResourceReference() |
ResourceReference(Map objIdMap) |
ResourceReference(Reference other) |
ResourceReference(String guid) |
ResourceReference(String relatedEndType,
Map<String,Object> uniqueAttributes) |
ResourceReference(String entityGuid,
OMRSLine line)
Populate the reference from a relationship
|
ResourceReference(String guid,
String relatedEndType) |
ResourceReference(String guid,
String relatedEndType,
Map<String,Object> uniqueAttributes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription()
Description of how the external identifier relates to the resource.
|
Referenceable |
getReferenceable() |
String |
getSource()
Details of where the external identifier was sourced from.
|
String |
getUsage()
Description of how the external identifier can be used.
|
int |
hashCode() |
void |
setDescription(String description) |
void |
setReferenceable(Referenceable referenceable) |
void |
setSource(String source) |
void |
setUsage(String usage) |
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 ResourceReference()
public ResourceReference(String guid)
public ResourceReference(String relatedEndType, Map<String,Object> uniqueAttributes)
public ResourceReference(String guid, String relatedEndType, Map<String,Object> uniqueAttributes)
public ResourceReference(Reference other)
public ResourceReference(String entityGuid, OMRSLine line)
entityGuid - String entity Guidline - OMRSLinepublic ResourceReference(Map objIdMap)
public Referenceable getReferenceable()
public void setReferenceable(Referenceable referenceable)
public String getDescription()
public void setDescription(String description)
public String getUsage()
public void setUsage(String usage)
public String getSource()
public void setSource(String source)
public StringBuilder toString(StringBuilder sb)
Copyright © 2018–2019 ODPi. All rights reserved.