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
A SummaryNode represents a node in the subject area omas that has a type
NodeType
, 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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
get the date effective from which this node is effectiveget when date from which the relationship is effectivegetGuid()
A unique identifier for a nodegetIcons()
iconsgetName()
The name of the nodeThe qualified name of the node.The unique identifier of the associated relationshipthe type of the relationshipget the date to which this node is effectiveget date from which the relationship is effectivegetType()
Type of the other end of this relationshipint
hashCode()
protected void
processClassification
(Classification classification) void
setFromEffectivityTime
(Long fromEffectivityTime) set the date from which this node is effectivevoid
setFromRelationshipEffectivityTime
(Long fromRelationshipEffectivityTime) set date from which the relationship is effectivevoid
void
setIcons
(Set<IconSummary> icons) void
void
setQualifiedName
(String qualifiedName) void
setRelationshipguid
(String relationshipguid) The set the unique identifier of the associated relationshipvoid
setRelationshipType
(String relationshipType) void
setToEffectivityTime
(Long toEffectivityTime) set the date to which this node is effectivevoid
setToRelationshipEffectivityTime
(Long toRelationshipEffectivityTime) set date to which the relationship is effectivevoid
toString()
-
Field Details
-
type
-
relationshipType
-
-
Constructor Details
-
NodeSummary
public NodeSummary()
-
-
Method Details
-
getType
Type of the other end of this relationship- Returns:
- the type
-
setType
-
getRelationshipType
the type of the relationship- Returns:
- relationship type
-
setRelationshipType
-
getName
The name of the node- Returns:
- name
-
setName
-
getQualifiedName
The qualified name of the node.- Returns:
- qualified name
-
setQualifiedName
-
getIcons
icons- Returns:
- set of icon summaries
-
setIcons
-
getGuid
A unique identifier for a node- Returns:
- guid
-
setGuid
-
getFromEffectivityTime
get the date effective from which this node is effective- Returns:
- Date date effective from which this node is effective
-
setFromEffectivityTime
set the date from which this node is effective- Parameters:
fromEffectivityTime
- date from which this node is effective
-
getToEffectivityTime
get the date to which this node is effective- Returns:
- Date to which this node is effective
-
setToEffectivityTime
set the date to which this node is effective- Parameters:
toEffectivityTime
- date to which this node is effective
-
getRelationshipguid
The unique identifier of the associated relationship- Returns:
- relationship guid
-
setRelationshipguid
The set the unique identifier of the associated relationship- Parameters:
relationshipguid
- relationship guid
-
getFromRelationshipEffectivityTime
get when date from which the relationship is effective- Returns:
- Date date from which the relationship is effective
-
setFromRelationshipEffectivityTime
set date from which the relationship is effective- Parameters:
fromRelationshipEffectivityTime
- date from which the relationship is effective
-
getToRelationshipEffectivityTime
get date from which the relationship is effective- Returns:
- date from which the relationship is effective
-
setToRelationshipEffectivityTime
set date to which the relationship is effective- Parameters:
toRelationshipEffectivityTime
- date to which the relationship is effective
-
toString
-
toString
-
equals
-
hashCode
public int hashCode() -
processClassification
-