Class MetadataSourceProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.MetadataSourceProperties
-
- All Implemented Interfaces:
Serializable
public class MetadataSourceProperties extends ReferenceableProperties
MetadataSourceProperties describe the properties for a capability that is supplying profile information to the Community Profile OMAS. This entity is stored as a SoftwareCapability and its GUID and qualifiedName is passed as the externalSourceGUID and externalSourceName on the profile management requests.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetadataSourceProperties()Default constructor.MetadataSourceProperties(MetadataSourceProperties 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 of the capability.StringgetDisplayName()Return the display name for messages and UI.StringgetPatchLevel()Return the patch level of the capability.StringgetSource()Return the source of the capability implementation.StringgetTypeDescription()Return the description of the type of capability this is.StringgetVersion()Return the version of the capability.inthashCode()Create a hash code for this element type.voidsetDescription(String description)Set up the description of the capability.voidsetDisplayName(String displayName)Set up the display name for messages and UI.voidsetPatchLevel(String patchLevel)Set up the patch level of the capability.voidsetSource(String source)Set up the source of the capability implementation.voidsetTypeDescription(String typeDescription)Set up the description of the type of capability this is.voidsetVersion(String version)Set up the version string of the capability.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
MetadataSourceProperties
public MetadataSourceProperties()
Default constructor.
-
MetadataSourceProperties
public MetadataSourceProperties(MetadataSourceProperties template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return the display name for messages and UI.- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name for messages and UI.- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description of the capability.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the description of the capability.- Parameters:
description- string
-
getTypeDescription
public String getTypeDescription()
Return the description of the type of capability this is.- Returns:
- string description
-
setTypeDescription
public void setTypeDescription(String typeDescription)
Set up the description of the type of capability this is.- Parameters:
typeDescription- string
-
getVersion
public String getVersion()
Return the version of the capability.- Returns:
- version string
-
setVersion
public void setVersion(String version)
Set up the version string of the capability.- Parameters:
version- string
-
getPatchLevel
public String getPatchLevel()
Return the patch level of the capability.- Returns:
- patch level string
-
setPatchLevel
public void setPatchLevel(String patchLevel)
Set up the patch level of the capability.- Parameters:
patchLevel- string
-
getSource
public String getSource()
Return the source of the capability implementation.- Returns:
- string url
-
setSource
public void setSource(String source)
Set up the source of the capability implementation.- Parameters:
source- string url
-
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()
Create a hash code for this element type.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-
-