Class DataStoreProperties
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
org.odpi.openmetadata.accessservices.datamanager.properties.DataStoreProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatabaseProperties,DataFileProperties,FileFolderProperties
DataStoreProperties is a class for representing a generic data store.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDataStoreProperties(AssetProperties template) Copy/clone constructor.DataStoreProperties(DataStoreProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the time that the data store was created.Return the description of the encoding used in the data store.Return the name of the natural language used for text strings within the data store.Return the additional properties associated with the encoding process.Return the name of the encoding style used in the data store.Return the last known time the data store was modified.Return the fully qualified physical location of the data store.inthashCode()Return hash code based on properties.voidsetCreateTime(Date createTime) Set up the time that the data store was created.voidsetEncodingDescription(String encodingDescription) Set up the description of the encoding used in the data store.voidsetEncodingLanguage(String encodingLanguage) Set up the name of the natural language used for text strings within the data store.voidsetEncodingProperties(Map<String, String> encodingProperties) Set up the additional properties associated with the encoding process.voidsetEncodingType(String encodingType) Set up the name of the encoding style used in the data store.voidsetModifiedTime(Date modifiedTime) Setup the last known time the data store was modified.voidsetPathName(String pathName) Set up the fully qualified physical location of the data store.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
getDescription, getDisplayName, getName, getVersionIdentifier, setDescription, setDisplayName, setName, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
DataStoreProperties
public DataStoreProperties()Default constructor -
DataStoreProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
DataStoreProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getPathName
Return the fully qualified physical location of the data store. This should be suitable for the network address of the Endpoint.- Returns:
- string name
-
setPathName
Set up the fully qualified physical location of the data store. This should be suitable for the network address of the Endpoint.- Parameters:
pathName- string name
-
getCreateTime
Return the time that the data store was created.- Returns:
- date
-
setCreateTime
Set up the time that the data store was created.- Parameters:
createTime- date
-
getModifiedTime
Return the last known time the data store was modified.- Returns:
- date
-
setModifiedTime
Setup the last known time the data store was modified.- Parameters:
modifiedTime- date
-
getEncodingType
Return the name of the encoding style used in the data store.- Returns:
- string name
-
setEncodingType
Set up the name of the encoding style used in the data store.- Parameters:
encodingType- string name
-
getEncodingLanguage
Return the name of the natural language used for text strings within the data store.- Returns:
- string language name
-
setEncodingLanguage
Set up the name of the natural language used for text strings within the data store.- Parameters:
encodingLanguage- string language name
-
getEncodingDescription
Return the description of the encoding used in the data store.- Returns:
- string text
-
setEncodingDescription
Set up the description of the encoding used in the data store.- Parameters:
encodingDescription- string text
-
getEncodingProperties
Return the additional properties associated with the encoding process.- Returns:
- map of name-value pairs
-
setEncodingProperties
Set up the additional properties associated with the encoding process.- Parameters:
encodingProperties- map of name-value pairs
-
toString
Standard toString method.- Overrides:
toStringin classAssetProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classAssetProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classAssetProperties- Returns:
- int
-