Class DataFile
java.lang.Object
org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
org.odpi.openmetadata.accessservices.dataengine.model.Asset
org.odpi.openmetadata.accessservices.dataengine.model.DataStore
org.odpi.openmetadata.accessservices.dataengine.model.DataFile
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CSVFile
OM type DataFile
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the file columnsGets file typebooleanReturn if the file is incompleteGets the network addressGet an Endpoint protocolGets the file schemainthashCode()voidsetColumns(List<Attribute> columns) Sets the file columnsvoidsetFileType(String fileType) Sets the file typevoidsetIncomplete(boolean incomplete) Sets up if the file is incompletevoidsetNetworkAddress(String networkAddress) Sets the network address.voidsetProtocol(String protocol) Sets the protocol.voidsetSchema(SchemaType schema) Sets the file schematoString()Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.DataStore
getCreateTime, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathNameMethods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Asset
getDescription, getDisplayName, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getOwner, getOwnerType, getZoneMembership, setDescription, setDisplayName, setOriginBusinessCapabilityGUID, setOriginOrganizationGUID, setOtherOriginValues, setOwner, setOwnerType, setZoneMembershipMethods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
Constructor Details
-
DataFile
public DataFile()
-
-
Method Details
-
getFileType
Gets file type- Returns:
- type
-
getSchema
Gets the file schema- Returns:
- file schema
-
getColumns
Gets the file columns- Returns:
- columns
-
getNetworkAddress
Gets the network address- Returns:
- columns
-
getProtocol
Get an Endpoint protocol- Returns:
- network address
-
getIncomplete
public boolean getIncomplete()Return if the file is incomplete- Returns:
- if the file is incomplete
-
setFileType
Sets the file type- Parameters:
fileType- type
-
setSchema
Sets the file schema- Parameters:
schema- schema
-
setColumns
Sets the file columns- Parameters:
columns- columns
-
setNetworkAddress
Sets the network address. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
networkAddress- network address
-
setProtocol
Sets the protocol. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
protocol- protocol
-
setIncomplete
public void setIncomplete(boolean incomplete) Sets up if the file is incomplete- Parameters:
incomplete- if the file is incomplete
-
equals
-
hashCode
public int hashCode() -
toString
-