public class DataFileTypeData extends BasicData implements NameableData, RemovableData
DataFileType
,
Developer documentation: Experimental platforms and item subtypesModifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private java.lang.String |
extension |
private java.lang.String |
externalId |
private ItemSubtypeData |
genericType |
private java.util.Set<ItemSubtypeFileTypeData> |
itemSubtypes |
private int |
itemType |
static int |
MAX_EXTENSION_LENGTH
The maximum length of the file extension that can be stored in the
database.
|
static int |
MAX_EXTERNAL_ID_LENGTH
The maximum length of the external ID that can be stored in the database.
|
private java.util.Set<FileSetMemberData> |
members |
private java.lang.String |
name |
private java.util.Set<PlatformFileTypeData> |
platforms |
private java.lang.Integer |
removedBy |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
DataFileTypeData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for the item.
|
java.lang.String |
getExtension()
Get the extension that files of this type usually have.
|
java.lang.String |
getExternalId()
Get the external id for the item.
|
(package private) java.util.Set<FileSetMemberData> |
getFileSetMembers()
This is the inverse end.
|
ItemSubtypeData |
getGenericType()
Get the generic file type of files with this member type.
|
(package private) java.util.Set<ItemSubtypeFileTypeData> |
getItemSubtypes()
The subtypes that this file type can be used with.
|
int |
getItemType()
The item type this file type can be associated with.
|
java.lang.String |
getName()
Get the name of the item.
|
(package private) java.util.Set<PlatformFileTypeData> |
getPlatforms()
This is the inverse end.
|
java.lang.Integer |
getRemovedBy()
Get the ID of the user that removed this item.
|
void |
setDescription(java.lang.String description)
Set the description for the item.
|
void |
setExtension(java.lang.String extension) |
void |
setExternalId(java.lang.String externalId) |
(package private) void |
setFileSetMembers(java.util.Set<FileSetMemberData> members) |
void |
setGenericType(ItemSubtypeData genericType) |
(package private) void |
setItemSubtypes(java.util.Set<ItemSubtypeFileTypeData> itemSubtypes) |
void |
setItemType(int itemType) |
void |
setName(java.lang.String name)
Set the name of the item.
|
(package private) void |
setPlatforms(java.util.Set<PlatformFileTypeData> platforms) |
void |
setRemovedBy(java.lang.Integer removedBy)
Set the ID of the user that removed this item or null
to restore the item.
|
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private java.lang.String name
private java.lang.String description
private java.lang.Integer removedBy
public static final int MAX_EXTERNAL_ID_LENGTH
setExternalId(String)
,
Constant Field Valuesprivate java.lang.String externalId
public static final int MAX_EXTENSION_LENGTH
private java.lang.String extension
private int itemType
private java.util.Set<ItemSubtypeFileTypeData> itemSubtypes
private ItemSubtypeData genericType
private java.util.Set<PlatformFileTypeData> platforms
private java.util.Set<FileSetMemberData> members
public java.lang.String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(java.lang.String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic java.lang.String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(java.lang.String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic java.lang.Integer getRemovedBy()
RemovableData
getRemovedBy
in interface RemovableData
public void setRemovedBy(java.lang.Integer removedBy)
RemovableData
setRemovedBy
in interface RemovableData
public java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
public int getItemType()
public void setItemType(int itemType)
java.util.Set<ItemSubtypeFileTypeData> getItemSubtypes()
void setItemSubtypes(java.util.Set<ItemSubtypeFileTypeData> itemSubtypes)
public ItemSubtypeData getGenericType()
public void setGenericType(ItemSubtypeData genericType)
java.util.Set<PlatformFileTypeData> getPlatforms()
PlatformFileTypeData.getDataFileType()
void setPlatforms(java.util.Set<PlatformFileTypeData> platforms)
java.util.Set<FileSetMemberData> getFileSetMembers()
FileSetMemberData.getDataFileType()
void setFileSetMembers(java.util.Set<FileSetMemberData> members)