base.user
Class Document
java.lang.Object
base.user.Document
- All Implemented Interfaces:
- IXMLSaveable
public class Document
- extends java.lang.Object
- implements IXMLSaveable
Constructor Summary |
Document()
|
Document(java.lang.String type,
java.lang.String number,
java.lang.String releaseAuthority,
java.lang.String description,
java.util.Date release,
java.util.Date expiration,
java.lang.String imagePath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Document
public Document(java.lang.String type,
java.lang.String number,
java.lang.String releaseAuthority,
java.lang.String description,
java.util.Date release,
java.util.Date expiration,
java.lang.String imagePath)
- Parameters:
type
- The document's type.number
- The document's number.releaseAuthority
- The document's release authority.description
- The document's description.release
- The document's release date.expiration
- The document's expiration date.imagePath
- The document's image path.
Document
public Document()
getDescription
public java.lang.String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- The description to set.
getExpiration
public java.util.Date getExpiration()
- Returns:
- Returns the expiration.
setExpiration
public void setExpiration(java.util.Date expiration)
- Parameters:
expiration
- The expiration to set.
getImagePath
public java.lang.String getImagePath()
- Returns:
- Returns the imagePath.
setImagePath
public void setImagePath(java.lang.String imagePath)
- Parameters:
imagePath
- The imagePath to set.
getRelease
public java.util.Date getRelease()
- Returns:
- Returns the release.
setRelease
public void setRelease(java.util.Date release)
- Parameters:
release
- The release to set.
getReleaseAuthority
public java.lang.String getReleaseAuthority()
- Returns:
- Returns the releaseAuthority.
getNumber
public java.lang.String getNumber()
- Returns:
- Returns the number.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setAuthority
public void setAuthority(java.lang.String releaseAuthority)
- Parameters:
releaseAuthority
- The authority to set.
setNumber
public void setNumber(java.lang.String number)
- Parameters:
number
- The number to set.
setType
public void setType(java.lang.String type)
- Parameters:
type
- The type to set.
toXml
public org.w3c.dom.Node toXml(org.w3c.dom.Document document)
- Specified by:
toXml
in interface IXMLSaveable
fromXml
public Document fromXml(org.w3c.dom.Node node)
Copyright © 2006 SF.net. All Rights Reserved.