dist1.acb.common.database
Class File

java.lang.Object
  extended bydist1.acb.common.database.File
All Implemented Interfaces:
java.io.Serializable

public class File
extends java.lang.Object
implements java.io.Serializable

File

Version:
$Revision: 1.1 $
Author:
Gergana Krumova
See Also:
Serialized Form

Constructor Summary
File(java.lang.String name, long size, java.math.BigDecimal price, int topic, java.lang.String owner, java.lang.String description)
          Creates a new File object.
 
Method Summary
 java.lang.String getDescription()
          Getter for property description.
 java.math.BigInteger getId()
          Getter for property id.
 java.lang.String getName()
          Getter for property name.
 java.lang.String getOwner()
          Getter for property owner.
 java.math.BigDecimal getPrice()
          Getter for property price.
 long getSize()
          Getter for property size.
 int getTopic()
          Getter for property topic.
 void setDescription(java.lang.String description)
          Setter for property description.
 void setId(java.math.BigInteger id)
          Setter for property id.
 void setName(java.lang.String name)
          Setter for property name.
 void setOwner(java.lang.String owner)
          Setter for property owner.
 void setPrice(java.math.BigDecimal price)
          Setter for property price.
 void setSize(long size)
          Setter for property size.
 void setTopic(int topic)
          Setter for property topic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File

public File(java.lang.String name,
            long size,
            java.math.BigDecimal price,
            int topic,
            java.lang.String owner,
            java.lang.String description)
Creates a new File object.

Parameters:
name - DOCUMENT ME!
size - DOCUMENT ME!
price - DOCUMENT ME!
topic - DOCUMENT ME!
owner - DOCUMENT ME!
description - DOCUMENT ME!
Method Detail

setDescription

public void setDescription(java.lang.String description)
Setter for property description.

Parameters:
description - New value of property description.

getDescription

public java.lang.String getDescription()
Getter for property description.

Returns:
Value of property description.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setOwner

public void setOwner(java.lang.String owner)
Setter for property owner.

Parameters:
owner - New value of property owner.

getOwner

public java.lang.String getOwner()
Getter for property owner.

Returns:
Value of property owner.

setPrice

public void setPrice(java.math.BigDecimal price)
Setter for property price.

Parameters:
price - New value of property price.

getPrice

public java.math.BigDecimal getPrice()
Getter for property price.

Returns:
Value of property price.

setSize

public void setSize(long size)
Setter for property size.

Parameters:
size - New value of property size.

getSize

public long getSize()
Getter for property size.

Returns:
Value of property size.

setTopic

public void setTopic(int topic)
Setter for property topic.

Parameters:
topic - New value of property topic.

getTopic

public int getTopic()
Getter for property topic.

Returns:
Value of property topic.

getId

public java.math.BigInteger getId()
Getter for property id.

Returns:
Value of property id.

setId

public void setId(java.math.BigInteger id)
Setter for property id.

Parameters:
id - New value of property id.


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.