public class GlossaryTermRelationship extends Object implements Serializable
| Constructor and Description |
|---|
GlossaryTermRelationship()
Default constructor
|
GlossaryTermRelationship(GlossaryTermRelationship template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getDescription()
Return the description for the relationship.
|
String |
getExpression()
Returns the expression that describes the relationship.
|
String |
getSource()
Returns the id of the source of the knowledge of the relationship.
|
GlossaryTermRelationshipStatus |
getStatus()
Returns whether this relationship should be used.
|
String |
getSteward()
Returns the name of the steward who assigned the relationship (or approved the discovered value).
|
int |
hashCode()
Return has code based on properties.
|
void |
setDescription(String description)
Set up description of the relationship.
|
void |
setExpression(String expression)
Set up the expression that describes the relationship.
|
void |
setSource(String source)
Set up the id of the source of the knowledge of the relationship.
|
void |
setStatus(GlossaryTermRelationshipStatus status)
Set up whether this relationship should be used.
|
void |
setSteward(String steward)
Set up the id of the steward who assigned the relationship (or approved the discovered value).
|
String |
toString()
Standard toString method.
|
public GlossaryTermRelationship()
public GlossaryTermRelationship(GlossaryTermRelationship template)
template - template object to copy.public void setExpression(String expression)
expression - String namepublic String getExpression()
public void setDescription(String description)
description - Stringpublic String getDescription()
public void setStatus(GlossaryTermRelationshipStatus status)
status - status enum (draft, active, deprecated, obsolete, other)public GlossaryTermRelationshipStatus getStatus()
public void setSteward(String steward)
steward - user id or name of stewardpublic String getSteward()
public void setSource(String source)
source - String idpublic String getSource()
public String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.