public class Reference extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_RELATED_END_GUID |
static String |
KEY_RELATIONSHIP_GUID |
static String |
KEY_TYPENAME |
static String |
KEY_UNIQUE_ATTRIBUTES |
protected String |
referenceName |
protected String |
relatedEndGuid |
protected String |
relatedEndType |
protected String |
relationship_Type |
protected String |
relationshipGuid |
protected Map<String,Object> |
uniqueAttributes |
| Constructor and Description |
|---|
Reference() |
Reference(Map objIdMap) |
Reference(Reference other) |
Reference(String guid) |
Reference(String relatedEndType,
Map<String,Object> uniqueAttributes) |
Reference(String guid,
String relatedEndType) |
Reference(String guid,
String relatedEndType,
Map<String,Object> uniqueAttributes) |
Reference(String relatedEndType,
String attrName,
Object attrValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getReferenceName()
get the name of the reference
|
String |
getRelatedEndGuid()
This guid of the related end of this reference
|
String |
getRelatedEndType()
This is the related ends type name
|
String |
getRelationship_Type()
the type of relationship
|
Map<String,Object> |
getRelationshipAttributes()
Attributes associated with the relationship itself
|
String |
getRelationshipGuid()
This is the relationship guid associated with this reference
|
Map<String,Object> |
getUniqueAttributes()
Get a map of the unique attributes.
|
int |
hashCode() |
void |
setReferenceName(String referenceName) |
void |
setRelatedEndGuid(String relatedEndGuid) |
void |
setRelatedEndType(String relatedEndType) |
void |
setRelationship_Type(String relationship_Type) |
void |
setRelationshipAttributes(Map<String,Object> relationshipAttributes) |
void |
setRelationshipGuid(String relationshipGuid) |
void |
setUniqueAttributes(Map<String,Object> uniqueAttributes) |
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
public static final String KEY_RELATED_END_GUID
public static final String KEY_RELATIONSHIP_GUID
public static final String KEY_TYPENAME
public static final String KEY_UNIQUE_ATTRIBUTES
protected String relationship_Type
protected String relationshipGuid
protected String relatedEndGuid
protected String relatedEndType
protected String referenceName
public Reference()
public Reference(String guid)
public Reference(Reference other)
public Reference(Map objIdMap)
public String getRelationship_Type()
public void setRelationship_Type(String relationship_Type)
public Map<String,Object> getRelationshipAttributes()
public void setRelationshipAttributes(Map<String,Object> relationshipAttributes)
public String getRelatedEndGuid()
public void setRelatedEndGuid(String relatedEndGuid)
public String getRelationshipGuid()
public void setRelationshipGuid(String relationshipGuid)
public String getRelatedEndType()
public void setRelatedEndType(String relatedEndType)
public Map<String,Object> getUniqueAttributes()
Map<String,Object> public StringBuilder toString(StringBuilder sb)
public String getReferenceName()
public void setReferenceName(String referenceName)
Copyright © 2018 ODPi. All rights reserved.