Class NodeSummary
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.nodesummary.NodeSummary
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetSummary,CanonicalGlossarySummary,CanonicalTaxonomySummary,CategorySummary,GlossarySummary,TaxonomySummary,TermSummary
public class NodeSummary extends Object implements Serializable
A SummaryNode represents a node in the subject area omas that has a typeNodeType, relationship type, name and icon. A Summary Node is used when a Node needs to hold a reference to another node. It contains only fields useful for identification.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringrelationshipTypeprotected NodeTypetype
-
Constructor Summary
Constructors Constructor Description NodeSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LonggetFromEffectivityTime()get the date effective from which this node is effectiveLonggetFromRelationshipEffectivityTime()get when date from which the relationship is effectiveStringgetGuid()A unique identifier for a nodeSet<IconSummary>getIcons()iconsStringgetName()The name of the nodeStringgetQualifiedName()The qualified name of the node.StringgetRelationshipguid()The unique identifier of the associated relationshipStringgetRelationshipType()the type of the relationshipLonggetToEffectivityTime()get the date to which this node is effectiveLonggetToRelationshipEffectivityTime()get date from which the relationship is effectiveNodeTypegetType()Type of the other end of this relationshipinthashCode()protected voidprocessClassification(Classification classification)voidsetFromEffectivityTime(Long fromEffectivityTime)set the date from which this node is effectivevoidsetFromRelationshipEffectivityTime(Long fromRelationshipEffectivityTime)set date from which the relationship is effectivevoidsetGuid(String guid)voidsetIcons(Set<IconSummary> icons)voidsetName(String name)voidsetQualifiedName(String qualifiedName)voidsetRelationshipguid(String relationshipguid)The set the unique identifier of the associated relationshipvoidsetRelationshipType(String relationshipType)voidsetToEffectivityTime(Long toEffectivityTime)set the date to which this node is effectivevoidsetToRelationshipEffectivityTime(Long toRelationshipEffectivityTime)set date to which the relationship is effectivevoidsetType(NodeType type)StringtoString()StringtoString(StringBuilder sb)
-
-
-
Method Detail
-
getType
public NodeType getType()
Type of the other end of this relationship- Returns:
- the type
-
setType
public void setType(NodeType type)
-
getRelationshipType
public String getRelationshipType()
the type of the relationship- Returns:
- relationship type
-
setRelationshipType
public void setRelationshipType(String relationshipType)
-
getName
public String getName()
The name of the node- Returns:
- name
-
setName
public void setName(String name)
-
getQualifiedName
public String getQualifiedName()
The qualified name of the node.- Returns:
- qualified name
-
setQualifiedName
public void setQualifiedName(String qualifiedName)
-
getIcons
public Set<IconSummary> getIcons()
icons- Returns:
- set of icon summaries
-
setIcons
public void setIcons(Set<IconSummary> icons)
-
getGuid
public String getGuid()
A unique identifier for a node- Returns:
- guid
-
setGuid
public void setGuid(String guid)
-
getFromEffectivityTime
public Long getFromEffectivityTime()
get the date effective from which this node is effective- Returns:
- Date date effective from which this node is effective
-
setFromEffectivityTime
public void setFromEffectivityTime(Long fromEffectivityTime)
set the date from which this node is effective- Parameters:
fromEffectivityTime- date from which this node is effective
-
getToEffectivityTime
public Long getToEffectivityTime()
get the date to which this node is effective- Returns:
- Date to which this node is effective
-
setToEffectivityTime
public void setToEffectivityTime(Long toEffectivityTime)
set the date to which this node is effective- Parameters:
toEffectivityTime- date to which this node is effective
-
getRelationshipguid
public String getRelationshipguid()
The unique identifier of the associated relationship- Returns:
- relationship guid
-
setRelationshipguid
public void setRelationshipguid(String relationshipguid)
The set the unique identifier of the associated relationship- Parameters:
relationshipguid- relationship guid
-
getFromRelationshipEffectivityTime
public Long getFromRelationshipEffectivityTime()
get when date from which the relationship is effective- Returns:
- Date date from which the relationship is effective
-
setFromRelationshipEffectivityTime
public void setFromRelationshipEffectivityTime(Long fromRelationshipEffectivityTime)
set date from which the relationship is effective- Parameters:
fromRelationshipEffectivityTime- date from which the relationship is effective
-
getToRelationshipEffectivityTime
public Long getToRelationshipEffectivityTime()
get date from which the relationship is effective- Returns:
- date from which the relationship is effective
-
setToRelationshipEffectivityTime
public void setToRelationshipEffectivityTime(Long toRelationshipEffectivityTime)
set date to which the relationship is effective- Parameters:
toRelationshipEffectivityTime- date to which the relationship is effective
-
toString
public String toString(StringBuilder sb)
-
processClassification
protected void processClassification(Classification classification)
-
-