Class SecurityGroupElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelements.SecurityGroupElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class SecurityGroupElement extends Object implements Serializable, MetadataElement
SecurityGroupElement is the superclass used to return the common properties of a governance definition stored in the open metadata repositories.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurityGroupElement()Default constructorSecurityGroupElement(SecurityGroupElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ElementHeadergetElementHeader()Return the element header associated with the properties.SecurityGroupPropertiesgetProperties()Return the requested security group.inthashCode()Return hash code for this objectvoidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetProperties(SecurityGroupProperties properties)Set up the requested security group.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
SecurityGroupElement
public SecurityGroupElement()
Default constructor
-
SecurityGroupElement
public SecurityGroupElement(SecurityGroupElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProperties
public SecurityGroupProperties getProperties()
Return the requested security group.- Returns:
- properties bean
-
setProperties
public void setProperties(SecurityGroupProperties properties)
Set up the requested security group.- Parameters:
properties- properties bean
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-