public class ResourceReference extends Reference implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected Referenceable |
referenceable |
protected 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 entityGuid,
Line line)
Populate the reference from a relationship
|
ResourceReference(String relatedEndType,
Map<String,Object> uniqueAttributes) |
ResourceReference(String guid,
String relatedEndType) |
ResourceReference(String guid,
String relatedEndType,
Map<String,Object> uniqueAttributes) |
ResourceReference(String relatedEndType,
String attrName,
Object attrValue) |
| 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 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 relatedEndType, String attrName, Object attrValue)
public ResourceReference(String guid, String relatedEndType, Map<String,Object> uniqueAttributes)
public ResourceReference(Reference other)
public ResourceReference(String entityGuid, Line line)
entityGuid - String entity Guidline - Linepublic 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 ODPi. All rights reserved.