Class RelationshipEnd
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.RelationshipEnd
-
- All Implemented Interfaces:
Serializable,OmasObject
public class RelationshipEnd extends Object implements Serializable, OmasObject
A Relationship end, that is associated with a Node.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description RelationshipEnd()Default constructorRelationshipEnd(String nodeType, String name, String description, RelationshipEndCardinality cardinality)constructorRelationshipEnd(RelationshipEnd endToCopy)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipEndCardinalitygetCardinality()Get the cardinality of this endStringgetDescription()Get the description of this endStringgetName()Get the name of this endStringgetNodeGuid()get the node guid for this endStringgetNodeQualifiedName()get the node qualified name for this endStringgetNodeType()Get the node type for this endvoidsetCardinality(RelationshipEndCardinality cardinality)Set the cardnicality of this endvoidsetDescription(String description)set the description of this endvoidsetName(String name)Set the name of this endvoidsetNodeGuid(String nodeGuid)Set the node guid for this endvoidsetNodeQualifiedName(String nodeQualifiedName)Set the node qualified name for this endvoidsetNodeType(String nodeType)Set the node type for this endStringtoString()StringBuildertoString(StringBuilder sb)
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelationshipEnd
public RelationshipEnd()
Default constructor
-
RelationshipEnd
public RelationshipEnd(String nodeType, String name, String description, RelationshipEndCardinality cardinality)
constructor- Parameters:
nodeType- node type associated with this end of the relationshipname- name of the enddescription- description of the endcardinality- cardinality of the end
-
RelationshipEnd
public RelationshipEnd(RelationshipEnd endToCopy)
Copy constructor- Parameters:
endToCopy- relationshipEnd to copy
-
-
Method Detail
-
getNodeGuid
public String getNodeGuid()
get the node guid for this end- Returns:
- guid
-
setNodeGuid
public void setNodeGuid(String nodeGuid)
Set the node guid for this end- Parameters:
nodeGuid- node guid
-
getNodeQualifiedName
public String getNodeQualifiedName()
get the node qualified name for this end- Returns:
- node qualified name
-
setNodeQualifiedName
public void setNodeQualifiedName(String nodeQualifiedName)
Set the node qualified name for this end- Parameters:
nodeQualifiedName- node qualified name
-
getNodeType
public String getNodeType()
Get the node type for this end- Returns:
- node type
-
setNodeType
public void setNodeType(String nodeType)
Set the node type for this end- Parameters:
nodeType- node type
-
getName
public String getName()
Get the name of this end- Returns:
- name
-
setName
public void setName(String name)
Set the name of this end- Parameters:
name- name
-
getDescription
public String getDescription()
Get the description of this end- Returns:
- description
-
setDescription
public void setDescription(String description)
set the description of this end- Parameters:
description- description
-
getCardinality
public RelationshipEndCardinality getCardinality()
Get the cardinality of this end- Returns:
- cardinality
-
setCardinality
public void setCardinality(RelationshipEndCardinality cardinality)
Set the cardnicality of this end- Parameters:
cardinality- cardinality
-
toString
public StringBuilder toString(StringBuilder sb)
-
-