Class GovernedNode
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Node
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.governednode.GovernedNode
-
- All Implemented Interfaces:
Serializable,OmasObject
- Direct Known Subclasses:
Term
public class GovernedNode extends Node implements Serializable
A governed Node is a node that can have associated governance classifications.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Node
classifications, nodeType
-
-
Constructor Summary
Constructors Constructor Description GovernedNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)GovernanceClassificationsgetGovernanceClassifications()inthashCode()voidsetClassifications(List<Classification> classifications)If governance action classifications (Retention, Confidence, Confidentiality or Criticality) are supplied then remove them from the classifications and add to the appropriate named field.voidsetGovernanceClassifications(GovernanceClassifications governanceClassifications)StringtoString()StringBuildertoString(StringBuilder sb)-
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Node
getAdditionalProperties, getClassifications, getDescription, getEffectiveFromTime, getEffectiveToTime, getIcons, getName, getNodeType, getQualifiedName, getSystemAttributes, isReadOnly, processClassification, setAdditionalProperties, setDescription, setEffectiveFromTime, setEffectiveToTime, setIcons, setName, setNodeType, setQualifiedName, setReadOnly, setSystemAttributes
-
-
-
-
Method Detail
-
getGovernanceClassifications
public GovernanceClassifications getGovernanceClassifications()
-
setGovernanceClassifications
public void setGovernanceClassifications(GovernanceClassifications governanceClassifications)
-
toString
public StringBuilder toString(StringBuilder sb)
-
setClassifications
public void setClassifications(List<Classification> classifications)
If governance action classifications (Retention, Confidence, Confidentiality or Criticality) are supplied then remove them from the classifications and add to the appropriate named field. e.g. Retention will be set in the retention field.- Overrides:
setClassificationsin classNode- Parameters:
classifications- the list of classifications to set on the GovernedNode.
-
-