public class RelationshipEnd extends Object implements Serializable, OmasObject
| Modifier and Type | Field and Description |
|---|---|
protected static long |
serialVersionUID |
| Constructor and Description |
|---|
RelationshipEnd()
Default constructor
|
RelationshipEnd(RelationshipEnd endToCopy)
Copy constructor
|
RelationshipEnd(String nodeType,
String name,
String description,
RelationshipEndCardinality cardinality)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
RelationshipEndCardinality |
getCardinality()
Get the cardinality of this end
|
String |
getDescription()
Get the description of this end
|
String |
getName()
Get the name of this end
|
String |
getNodeGuid()
get the node guid for this end
|
String |
getNodeQualifiedName()
get the node qualified name for this end
|
String |
getNodeType()
Get the node type for this end
|
void |
setCardinality(RelationshipEndCardinality cardinality)
Set the cardnicality of this end
|
void |
setDescription(String description)
set the description of this end
|
void |
setName(String name)
Set the name of this end
|
void |
setNodeGuid(String nodeGuid)
Set the node guid for this end
|
void |
setNodeQualifiedName(String nodeQualifiedName)
Set the node qualified name for this end
|
void |
setNodeType(String nodeType)
Set the node type for this end
|
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
protected static final long serialVersionUID
public RelationshipEnd()
public RelationshipEnd(String nodeType, String name, String description, RelationshipEndCardinality cardinality)
nodeType - node type associated with this end of the relationshipname - name of the enddescription - description of the endcardinality - cardinality of the endpublic RelationshipEnd(RelationshipEnd endToCopy)
endToCopy - relationshipEnd to copypublic String getNodeGuid()
public void setNodeGuid(String nodeGuid)
nodeGuid - node guidpublic String getNodeQualifiedName()
public void setNodeQualifiedName(String nodeQualifiedName)
nodeQualifiedName - node qualified namepublic String getNodeType()
public void setNodeType(String nodeType)
nodeType - node typepublic String getName()
public void setName(String name)
name - namepublic String getDescription()
public void setDescription(String description)
description - descriptionpublic RelationshipEndCardinality getCardinality()
public void setCardinality(RelationshipEndCardinality cardinality)
cardinality - cardinalitypublic StringBuilder toString(StringBuilder sb)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.