|
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.PlatformVariantData
public class PlatformVariantData
This class hols information about variants of experimental platforms.
PlatformVariant
,
Data API - Experimental platformsField 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 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 PlatformData getPlatform()
public void setPlatform(PlatformData platform)
Set<PlatformFileTypeData> getFileTypes()
PlatformFileTypeData.getVariant()
void setFileTypes(Set<PlatformFileTypeData> fileTypes)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |