Class DataStoreProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.AssetProperties
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.DataStoreProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatabaseProperties,DataFileProperties,FileFolderProperties
public class DataStoreProperties extends AssetProperties
DataStoreProperties is a class for representing a generic data store.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataStoreProperties()Default constructorDataStoreProperties(AssetProperties template)Copy/clone constructor.DataStoreProperties(DataStoreProperties 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.DategetCreateTime()Return the time that the data store was created.StringgetEncodingDescription()Return the description of the encoding used in the data store.StringgetEncodingLanguage()Return the name of the natural language used for text strings within the data store.Map<String,String>getEncodingProperties()Return the additional properties associated with the encoding process.StringgetEncodingType()Return the name of the encoding style used in the data store.DategetModifiedTime()Return the last known time the data store was modified.StringgetPathName()Return the fully qualified physical location of the data store.inthashCode()Return has 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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.securitymanager.properties.AssetProperties
getDescription, getDisplayName, setDescription, setDisplayName
-
Methods inherited from class org.odpi.openmetadata.accessservices.securitymanager.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
DataStoreProperties
public DataStoreProperties()
Default constructor
-
DataStoreProperties
public DataStoreProperties(DataStoreProperties template)
Copy/clone constructor.- Parameters:
template- object to copy
-
DataStoreProperties
public DataStoreProperties(AssetProperties template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getPathName
public String 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
public void setPathName(String pathName)
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
public Date getCreateTime()
Return the time that the data store was created.- Returns:
- date
-
setCreateTime
public void setCreateTime(Date createTime)
Set up the time that the data store was created.- Parameters:
createTime- date
-
getModifiedTime
public Date getModifiedTime()
Return the last known time the data store was modified.- Returns:
- date
-
setModifiedTime
public void setModifiedTime(Date modifiedTime)
Setup the last known time the data store was modified.- Parameters:
modifiedTime- date
-
getEncodingType
public String getEncodingType()
Return the name of the encoding style used in the data store.- Returns:
- string name
-
setEncodingType
public void setEncodingType(String encodingType)
Set up the name of the encoding style used in the data store.- Parameters:
encodingType- string name
-
getEncodingLanguage
public String getEncodingLanguage()
Return the name of the natural language used for text strings within the data store.- Returns:
- string language name
-
setEncodingLanguage
public void setEncodingLanguage(String encodingLanguage)
Set up the name of the natural language used for text strings within the data store.- Parameters:
encodingLanguage- string language name
-
getEncodingDescription
public String getEncodingDescription()
Return the description of the encoding used in the data store.- Returns:
- string text
-
setEncodingDescription
public void setEncodingDescription(String encodingDescription)
Set up the description of the encoding used in the data store.- Parameters:
encodingDescription- string text
-
getEncodingProperties
public Map<String,String> getEncodingProperties()
Return the additional properties associated with the encoding process.- Returns:
- map of name-value pairs
-
setEncodingProperties
public void setEncodingProperties(Map<String,String> encodingProperties)
Set up the additional properties associated with the encoding process.- Parameters:
encodingProperties- map of name-value pairs
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAssetProperties- 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 classAssetProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classAssetProperties- Returns:
- int
-
-