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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRelationshipEnd(String nodeTypeName, String name, String description, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality cardinality) constructorRelationshipEnd(RelationshipEnd endToCopy) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinalityGet 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 endvoidsetCardinality(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality cardinality) Set the cardnicality of this endvoidsetDescription(String description) set the description of this endvoidSet the name of this endvoidsetNodeGuid(String nodeGuid) Set the node guid for this endvoidsetNodeQualifiedName(String nodeQualifiedName) Set the node qualified name for this endvoidsetNodeTypeName(String nodeTypeName) Set the node type for this endtoString()
-
Constructor Details
-
RelationshipEnd
public RelationshipEnd()Default constructor -
RelationshipEnd
public RelationshipEnd(String nodeTypeName, String name, String description, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.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
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality getCardinality()Get the cardinality of this end- Returns:
- cardinality
-
setCardinality
public void setCardinality(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality cardinality) Set the cardnicality of this end- Parameters:
cardinality- cardinality
-
toString
-
toString
-