public class DataFileTypeData extends BasicData implements NameableData, RemovableData
DataFileType
,
Developer documentation: Experimental platforms and item subtypesModifier and Type | Field and Description |
---|---|
private String |
description |
private String |
extension |
private String |
externalId |
private ItemSubtypeData |
genericType |
private 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 Set<FileSetMemberData> |
members |
private String |
name |
private Set<PlatformFileTypeData> |
platforms |
private Integer |
removedBy |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
DataFileTypeData() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description for the item.
|
String |
getExtension()
Get the extension that files of this type usually have.
|
String |
getExternalId()
Get the external id for the item.
|
(package private) Set<FileSetMemberData> |
getFileSetMembers()
This is the inverse end.
|
ItemSubtypeData |
getGenericType()
Get the generic file type of files with this member type.
|
(package private) 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.
|
String |
getName()
Get the name of the item.
|
(package private) Set<PlatformFileTypeData> |
getPlatforms()
This is the inverse end.
|
Integer |
getRemovedBy()
Get the ID of the user that removed this item.
|
void |
setDescription(String description)
Set the description for the item.
|
void |
setExtension(String extension) |
void |
setExternalId(String externalId) |
(package private) void |
setFileSetMembers(Set<FileSetMemberData> members) |
void |
setGenericType(ItemSubtypeData genericType) |
(package private) void |
setItemSubtypes(Set<ItemSubtypeFileTypeData> itemSubtypes) |
void |
setItemType(int itemType) |
void |
setName(String name)
Set the name of the item.
|
(package private) void |
setPlatforms(Set<PlatformFileTypeData> platforms) |
void |
setRemovedBy(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 String name
private String description
private Integer removedBy
public static final int MAX_EXTERNAL_ID_LENGTH
setExternalId(String)
,
Constant Field Valuesprivate String externalId
public static final int MAX_EXTENSION_LENGTH
private String extension
private int itemType
private Set<ItemSubtypeFileTypeData> itemSubtypes
private ItemSubtypeData genericType
private Set<PlatformFileTypeData> platforms
private Set<FileSetMemberData> members
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic Integer getRemovedBy()
RemovableData
getRemovedBy
in interface RemovableData
public void setRemovedBy(Integer removedBy)
RemovableData
setRemovedBy
in interface RemovableData
public String getExternalId()
public void setExternalId(String externalId)
public String getExtension()
public void setExtension(String extension)
public int getItemType()
public void setItemType(int itemType)
Set<ItemSubtypeFileTypeData> getItemSubtypes()
void setItemSubtypes(Set<ItemSubtypeFileTypeData> itemSubtypes)
public ItemSubtypeData getGenericType()
public void setGenericType(ItemSubtypeData genericType)
Set<PlatformFileTypeData> getPlatforms()
PlatformFileTypeData.getDataFileType()
void setPlatforms(Set<PlatformFileTypeData> platforms)
Set<FileSetMemberData> getFileSetMembers()
FileSetMemberData.getDataFileType()
void setFileSetMembers(Set<FileSetMemberData> members)