public class ManagedFileEntityCreationData extends java.lang.Object implements EntityBeanCreationData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ManagedFileEntityCreationData()
Creates the managed file entity creation data object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
getAssociated()
Returns whether the file is already associated with a business object.
|
java.lang.String |
getContentWorkspace()
Returns the workspace name of the modification.
|
byte[] |
getFile()
Returns the file contents of the managed file.
|
java.lang.Long |
getFileDirId()
Gets the file directory ID.
|
java.lang.Long |
getFileId()
Returns the file identifier that represents the internal
business object key of the file.
|
java.lang.String |
getFilePath()
Returns the location that the managed file will represent.
|
void |
setAssociated(java.lang.Short associated)
Sets whether the managed file is associated with a business object.
|
void |
setContentWorkspace(java.lang.String workspace)
Sets the workspace name of the modification.
|
void |
setFile(byte[] file)
Sets the file contents of the managed file.
|
void |
setFileDirId(java.lang.Long aFileDirId)
Sets the File Directory ID.
|
void |
setFileId(java.lang.Long id)
Sets the internal business object key of the managed file.
|
void |
setFilePath(java.lang.String filepath)
Sets the URL location of the file.
|
java.lang.String |
toString()
Returns the string representation of the object.
|
public static final java.lang.String COPYRIGHT
public ManagedFileEntityCreationData()
public java.lang.Long getFileId()
public java.lang.String getFilePath()
public void setFileId(java.lang.Long id)
id
- The internal file identifier.public void setFilePath(java.lang.String filepath)
filepath
- The file path.public java.lang.Short getAssociated()
public byte[] getFile()
public java.lang.Long getFileDirId()
public void setAssociated(java.lang.Short associated)
associated
- 0 means the file is not associated, 1 means the
file is associated.public void setFile(byte[] file)
file
- The file contents.public java.lang.String getContentWorkspace()
public void setContentWorkspace(java.lang.String workspace)
workspace
- The workspace name.public void setFileDirId(java.lang.Long aFileDirId)
aFileDirId
- The file directory IDpublic java.lang.String toString()
toString
in class java.lang.Object