public class RelationshipEndDef extends TypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION| Constructor and Description |
|---|
RelationshipEndDef()
Default constructor creates an empty end
|
RelationshipEndDef(RelationshipEndDef template)
Copy/clone constructor copies the supplied template into the new end.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Verify that supplied object has the same properties.
|
RelationshipEndCardinality |
getAttributeCardinality()
Return the cardinality for this end of the relationship.
|
String |
getAttributeDescription()
Return the attributeDescription of this end of the relationship.
|
String |
getAttributeDescriptionGUID()
Return the unique identifier (guid) of the glossary term that describes this RelationshipEndDef.
|
String |
getAttributeName()
Return the attribute name used to describe this end of the relationship
|
TypeDefLink |
getEntityType()
Return the identifiers of the EntityDef describing the type of entity on this end of the relationship.
|
int |
hashCode()
Code for hash map
|
void |
setAttributeCardinality(RelationshipEndCardinality attributeCardinality)
Set up the cardinality for this end of the relationship.
|
void |
setAttributeDescription(String attributeDescription)
Set up the attributeDescription for this end of the relationship.
|
void |
setAttributeDescriptionGUID(String attributeDescriptionGUID)
Set up the unique identifier (guid) of the glossary term that describes this RelationshipEndDef.
|
void |
setAttributeName(String attributeName)
Set up the attribute name used to describe this end of the relationship.
|
void |
setEntityType(TypeDefLink entityType)
Set up the guid of the EntityDef describing the type of entity on this end of the relationship.
|
String |
toString()
Standard toString method.
|
getHeaderVersion, setHeaderVersionpublic RelationshipEndDef()
public RelationshipEndDef(RelationshipEndDef template)
template - RelationshipEndDefpublic TypeDefLink getEntityType()
public void setEntityType(TypeDefLink entityType)
entityType - TypeDefLink unique identifiers for the entity's typepublic String getAttributeName()
public void setAttributeName(String attributeName)
attributeName - String name for the attributepublic RelationshipEndCardinality getAttributeCardinality()
public void setAttributeCardinality(RelationshipEndCardinality attributeCardinality)
attributeCardinality - RelationshipEndCardinality Enumpublic String getAttributeDescription()
public void setAttributeDescription(String attributeDescription)
attributeDescription - Stringpublic String getAttributeDescriptionGUID()
public void setAttributeDescriptionGUID(String attributeDescriptionGUID)
attributeDescriptionGUID - String guidpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.