|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.BasicData net.sf.basedb.core.data.PlatformData
public class PlatformData
This class hols information about experimental platforms.
Platform
,
Data API - Experimental platformsField Summary | |
---|---|
private int |
channels
|
private String |
description
|
private String |
externalId
|
private boolean |
fileOnly
|
private Map<FileTypeIndex,PlatformFileTypeData> |
fileTypes
|
static int |
MAX_EXTERNAL_ID_LENGTH
The maximum length of the external ID that can be stored in the database. |
private String |
name
|
private String |
rawDataType
|
private boolean |
removed
|
private Set<PlatformVariantData> |
variants
|
Fields inherited from interface net.sf.basedb.core.data.NameableData |
---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
Constructor Summary | |
---|---|
PlatformData()
|
Method Summary | |
---|---|
int |
getChannels()
The number of channels this platform uses. |
String |
getDescription()
Get the description for the item. |
String |
getExternalId()
Get the external id for the item. |
Map<FileTypeIndex,PlatformFileTypeData> |
getFileTypes()
The file types that can be used on this platform. |
String |
getName()
Get the name of the item. |
String |
getRawDataType()
The raw data type this platform is locked to, or null. |
(package private) Set<PlatformVariantData> |
getVariants()
The variants of this platform. |
boolean |
isFileOnly()
If this platform can only be used with files. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setChannels(int channels)
|
void |
setDescription(String description)
Set the description for the item. |
void |
setExternalId(String externalId)
|
void |
setFileOnly(boolean fileOnly)
|
(package private) void |
setFileTypes(Map<FileTypeIndex,PlatformFileTypeData> fileTypes)
|
void |
setName(String name)
Set the name of the item. |
void |
setRawDataType(String rawDataType)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
(package private) void |
setVariants(Set<PlatformVariantData> variants)
|
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Field Detail |
---|
private String name
private String description
private boolean removed
public static final int MAX_EXTERNAL_ID_LENGTH
setExternalId(String)
,
Constant Field Valuesprivate String externalId
private boolean fileOnly
private String rawDataType
private int channels
private Map<FileTypeIndex,PlatformFileTypeData> fileTypes
private Set<PlatformVariantData> variants
Constructor Detail |
---|
public PlatformData()
Method Detail |
---|
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 boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic String getExternalId()
public void setExternalId(String externalId)
public boolean isFileOnly()
public void setFileOnly(boolean fileOnly)
public String getRawDataType()
public void setRawDataType(String rawDataType)
public int getChannels()
public void setChannels(int channels)
public Map<FileTypeIndex,PlatformFileTypeData> getFileTypes()
PlatformFileTypeData.getPlatform()
void setFileTypes(Map<FileTypeIndex,PlatformFileTypeData> fileTypes)
Set<PlatformVariantData> getVariants()
PlatformVariantData.getPlatform()
void setVariants(Set<PlatformVariantData> variants)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |