public class FileElement extends Object implements MetadataElement, Serializable
| Constructor and Description |
|---|
FileElement()
Default constructor
|
FileElement(FileElement template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
ElementHeader |
getElementHeader()
Return the element header associated with the properties.
|
FileProperties |
getFileProperties()
Return the properties that describe the file.
|
int |
hashCode()
Return hash code for this object
|
void |
setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.
|
void |
setFileProperties(FileProperties fileProperties)
Set up the file properties.
|
String |
toString()
JSON-style toString
|
public FileElement()
public FileElement(FileElement template)
template - object to copypublic ElementHeader getElementHeader()
getElementHeader in interface MetadataElementpublic void setElementHeader(ElementHeader elementHeader)
setElementHeader in interface MetadataElementelementHeader - element header objectpublic FileProperties getFileProperties()
public void setFileProperties(FileProperties fileProperties)
fileProperties - properties beanpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.