Class DigitalServiceProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalServiceProperties
-
- All Implemented Interfaces:
Serializable
public class DigitalServiceProperties extends ReferenceableProperties
DigitalServiceProperties is an object for tracking the lifecycle of one of an organization's digital services. The digital service instance is created when the digital service is just a concept. It is used to record the role and implementation style that it has along with information about how it will operate. As the digital service moved through its lifecycle from implementation to deployment to use, more information is attached to the digital service instance to support the correct management and compliance of the service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalServiceProperties()Default constructorDigitalServiceProperties(DigitalServiceProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDescription()Return the description for this asset.StringgetDisplayName()Return the display name for this asset (normally a shortened for of the qualified name).StringgetVersion()Return the version identifier for this digital service.inthashCode()Return hash code based on properties.voidsetDescription(String description)Set up the description for this asset.voidsetDisplayName(String displayName)Set up the display name for this asset (normally a shortened for of the qualified name).voidsetVersion(String version)Set up the version number for this digital service.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
DigitalServiceProperties
public DigitalServiceProperties()
Default constructor
-
DigitalServiceProperties
public DigitalServiceProperties(DigitalServiceProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return the display name for this asset (normally a shortened for of the qualified name).- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name for this asset (normally a shortened for of the qualified name).- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description for this asset.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the description for this asset.- Parameters:
description- string
-
getVersion
public String getVersion()
Return the version identifier for this digital service.- Returns:
- String
-
setVersion
public void setVersion(String version)
Set up the version number for this digital service.- Parameters:
version- String
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-
-