Class RelationshipEnd
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.RelationshipEnd
- All Implemented Interfaces:
Serializable
,OmasObject
A Relationship end, that is associated with a Node.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRelationshipEnd
(String nodeTypeName, String name, String description, RelationshipEndCardinality cardinality) constructorRelationshipEnd
(RelationshipEnd endToCopy) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the cardinality of this endGet the description of this endgetName()
Get the name of this endget the node guid for this endget the node qualified name for this endGet the node type for this endvoid
setCardinality
(RelationshipEndCardinality cardinality) Set the cardnicality of this endvoid
setDescription
(String description) set the description of this endvoid
Set the name of this endvoid
setNodeGuid
(String nodeGuid) Set the node guid for this endvoid
setNodeQualifiedName
(String nodeQualifiedName) Set the node qualified name for this endvoid
setNodeTypeName
(String nodeTypeName) Set the node type for this endtoString()
-
Field Details
-
serialVersionUID
protected static final long serialVersionUID- See Also:
-
-
Constructor Details
-
RelationshipEnd
public RelationshipEnd()Default constructor -
RelationshipEnd
public RelationshipEnd(String nodeTypeName, String name, String description, RelationshipEndCardinality cardinality) constructor- Parameters:
nodeTypeName
- node type associated with this end of the relationshipname
- name of the enddescription
- description of the endcardinality
- cardinality of the end
-
RelationshipEnd
Copy constructor- Parameters:
endToCopy
- relationshipEnd to copy
-
-
Method Details
-
getNodeGuid
get the node guid for this end- Returns:
- guid
-
setNodeGuid
Set the node guid for this end- Parameters:
nodeGuid
- node guid
-
getNodeQualifiedName
get the node qualified name for this end- Returns:
- node qualified name
-
setNodeQualifiedName
Set the node qualified name for this end- Parameters:
nodeQualifiedName
- node qualified name
-
getNodeTypeName
Get the node type for this end- Returns:
- node type
-
setNodeTypeName
Set the node type for this end- Parameters:
nodeTypeName
- node type
-
getName
Get the name of this end- Returns:
- name
-
setName
Set the name of this end- Parameters:
name
- name
-
getDescription
Get the description of this end- Returns:
- description
-
setDescription
set the description of this end- Parameters:
description
- description
-
getCardinality
Get the cardinality of this end- Returns:
- cardinality
-
setCardinality
Set the cardnicality of this end- Parameters:
cardinality
- cardinality
-
toString
-
toString
-