|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.PlatformVariantData
public class PlatformVariantData
This class hols information about variants of experimental platforms.
PlatformVariant,
Developer documentation: Experimental platforms and item subtypes| Field Summary | |
|---|---|
private int |
channels
|
private String |
description
|
private String |
externalId
|
private boolean |
fileOnly
|
private Set<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 PlatformData |
platform
|
private String |
rawDataType
|
private boolean |
removed
|
| Fields inherited from interface net.sf.basedb.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
PlatformVariantData()
|
|
| Method Summary | |
|---|---|
int |
getChannels()
The number of channels this platform variant uses. |
String |
getDescription()
Get the description for the item. |
String |
getExternalId()
Get the external id for the item. |
(package private) Set<PlatformFileTypeData> |
getFileTypes()
The additional file types that can be used on this platform variant. |
String |
getName()
Get the name of the item. |
PlatformData |
getPlatform()
The parent platform of this variant. |
String |
getRawDataType()
The raw data type this platform variant is locked to, or null. |
boolean |
isFileOnly()
If this platform variant 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(Set<PlatformFileTypeData> fileTypes)
|
void |
setName(String name)
Set the name of the item. |
void |
setPlatform(PlatformData platform)
|
void |
setRawDataType(String rawDataType)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
| 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 PlatformData platform
private Set<PlatformFileTypeData> fileTypes
| Constructor Detail |
|---|
public PlatformVariantData()
| Method Detail |
|---|
public String getName()
NameableData
getName in interface NameableDataString with the name of the itempublic void setName(String name)
NameableDataMAX_NAME_LENGTH constant.
setName in interface NameableDataname - The new name for the itempublic String getDescription()
NameableData
getDescription in interface NameableDataString with a description of the itempublic void setDescription(String description)
NameableDataMAX_DESCRIPTION_LENGTH constant.
setDescription in interface NameableDatadescription - The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved in interface RemovableDatapublic void setRemoved(boolean removed)
RemovableData
setRemoved in interface RemovableDataremoved - 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 PlatformData getPlatform()
public void setPlatform(PlatformData platform)
Set<PlatformFileTypeData> getFileTypes()
PlatformFileTypeData.getVariant()void setFileTypes(Set<PlatformFileTypeData> fileTypes)
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||