Class RelationshipEnd
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.RelationshipEnd
-
- All Implemented Interfaces:
Serializable
public class RelationshipEnd extends Object implements Serializable
this is represents a relationship and the related end.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_END_GUIDstatic StringKEY_RELATIONSHIP_GUIDstatic StringKEY_TYPENAMEstatic StringKEY_UNIQUE_ATTRIBUTESprotected StringtypeName
-
Constructor Summary
Constructors Constructor Description RelationshipEnd()RelationshipEnd(String guid)RelationshipEnd(String guid, String typeName)RelationshipEnd(String guid, String typeName, Map<String,Object> uniqueAttributes)RelationshipEnd(String typeName, Map<String,Object> uniqueAttributes)RelationshipEnd(Map objIdMap)RelationshipEnd(RelationshipEnd other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetEndGuid()This guid of the is the related end of this referenceStringgetRelationshipGuid()This is the relationship guid associated with this referenceStringgetTypeName()This is the related ends type nameMap<String,Object>getUniqueAttributes()inthashCode()voidsetEndGuid(String EndGuid)voidsetRelationshipGuid(String relationshipGuid)voidsetTypeName(String typeName)voidsetUniqueAttributes(Map<String,Object> uniqueAttributes)StringtoString()StringBuildertoString(StringBuilder sb)
-
-
-
Field Detail
-
KEY_END_GUID
public static final String KEY_END_GUID
- See Also:
- Constant Field Values
-
KEY_RELATIONSHIP_GUID
public static final String KEY_RELATIONSHIP_GUID
- See Also:
- Constant Field Values
-
KEY_TYPENAME
public static final String KEY_TYPENAME
- See Also:
- Constant Field Values
-
KEY_UNIQUE_ATTRIBUTES
public static final String KEY_UNIQUE_ATTRIBUTES
- See Also:
- Constant Field Values
-
typeName
protected String typeName
-
-
Constructor Detail
-
RelationshipEnd
public RelationshipEnd()
-
RelationshipEnd
public RelationshipEnd(String guid)
-
RelationshipEnd
public RelationshipEnd(String guid, String typeName, Map<String,Object> uniqueAttributes)
-
RelationshipEnd
public RelationshipEnd(RelationshipEnd other)
-
RelationshipEnd
public RelationshipEnd(Map objIdMap)
-
-
Method Detail
-
getEndGuid
public String getEndGuid()
This guid of the is the related end of this reference- Returns:
- guid of the end
-
setEndGuid
public void setEndGuid(String EndGuid)
-
getRelationshipGuid
public String getRelationshipGuid()
This is the relationship guid associated with this reference- Returns:
- relationship guid
-
setRelationshipGuid
public void setRelationshipGuid(String relationshipGuid)
-
getTypeName
public String getTypeName()
This is the related ends type name- Returns:
- the related ends name
-
setTypeName
public void setTypeName(String typeName)
-
toString
public StringBuilder toString(StringBuilder sb)
-
-