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 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 Details

    • type

      protected NodeType type
    • relationshipType

      protected String relationshipType
  • Constructor Details

    • NodeSummary

      public NodeSummary()
  • Method Details

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • processClassification

      protected void processClassification(Classification classification)