2.17.2: 2011-06-17

net.sf.basedb.info
Class DataFileTypeInfo

java.lang.Object
  extended by net.sf.basedb.info.BasicItemInfo
      extended by net.sf.basedb.info.DataFileTypeInfo
All Implemented Interfaces:
Serializable, NameableInfo, Transferable

public class DataFileTypeInfo
extends BasicItemInfo
implements NameableInfo, Serializable

This holds information about a DataFileType in BASE. It can be used to send information about this kind of item over web services.

Version:
2.5
Author:
Martin
See Also:
DataFileType, Serialized Form

Field Summary
private  String description
           
private  String extension
           
private  String externalId
           
private  String name
           
private static long serialVersionUID
           
 
Constructor Summary
DataFileTypeInfo()
           
 
Method Summary
 String getDescription()
          Gets the description of the info object
 String getExtension()
           
 String getExternalId()
           
 String getName()
          Get the name of the info object
 void setDescription(String description)
          Sets the description of an info object.
 void setExtension(String extension)
           
 void setExternalId(String externalId)
           
 void setName(String name)
          Set the info object's name
 
Methods inherited from class net.sf.basedb.info.BasicItemInfo
getId, getVersion, setId, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

externalId

private String externalId

extension

private String extension

name

private String name

description

private String description
Constructor Detail

DataFileTypeInfo

public DataFileTypeInfo()
Method Detail

setExternalId

public void setExternalId(String externalId)
Parameters:
externalId - The externalId to set.

getExternalId

public String getExternalId()
Returns:
Returns the externalId.

setExtension

public void setExtension(String extension)
Parameters:
extension - The extension to set.

getExtension

public String getExtension()
Returns:
Returns the extension.

setDescription

public void setDescription(String description)
Description copied from interface: NameableInfo
Sets the description of an info object.

Specified by:
setDescription in interface NameableInfo
Parameters:
description - The description to set.

getDescription

public String getDescription()
Description copied from interface: NameableInfo
Gets the description of the info object

Specified by:
getDescription in interface NameableInfo
Returns:
Returns the description.

setName

public void setName(String name)
Description copied from interface: NameableInfo
Set the info object's name

Specified by:
setName in interface NameableInfo
Parameters:
name - The name to set.

getName

public String getName()
Description copied from interface: NameableInfo
Get the name of the info object

Specified by:
getName in interface NameableInfo
Returns:
Returns the name.

2.17.2: 2011-06-17