Package com.dassault_systemes.catweb.documents

   
Class Document

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catweb.documents.Document
Class Location

Framework : PortalBase

Module : PLBdocuments

Class Description

public class Document

Basic Document Class

   All Implemented Interfaces:
PersistableAsXML
Cloneable
Field Summary
byte[] UUID
String XML_TAG
String XML_CLASSNAME
String XML_PATHNAME
String XML_EXTENSION
float[] xform
byte[] zero_UUID
String pathName
String extension
float unit
String url

Constructor Summary
Document(Document doc)
Document(byte[] _UUID, String _pathName)
Document()
Document(String _pathName)

Method Summary
Document createDocumentFromURL(String url)
void setURL(String url)
byte[] getUUID()
void setUUID(byte[] uuid)
String getPathName()
void setPathName(String _pathName)
String getExtension()
void setExtension(String newExtension)
float getModelUnit()
void setModelUnit(float _unit)
void setXForm(float[] _xform)
float[] getXForm()
String getPortalURLString()
String toString()
boolean isEqual(Object o)
Document duplicate()
void copy(Document d)
void dispose()
boolean isZeroUUID()


Field Detail

UUID

    byte[] UUID


XML_TAG

    String XML_TAG


XML_CLASSNAME

    String XML_CLASSNAME


XML_PATHNAME

    String XML_PATHNAME


XML_EXTENSION

    String XML_EXTENSION


xform

    float[] xform


zero_UUID

    byte[] zero_UUID


pathName

    String pathName


extension

    String extension


unit

    float unit


url

    String url


Constructor Detail

Document

    Document(Document doc)

Copy Constructor

Parameters:
doc
- the Document to copy.

Document

    Document(byte[] _UUID, String _pathName)

Constructor with uuid and path name parameters.

Parameters:
_UUID
- the uuid of the document.
_pathName
- the path name of the document.

Document

    Document()

The default constructor.


Document

    Document(String _pathName)

Constructor with pathanme.

Parameters:
_pathName
- the path name of the document.

Method Detail

createDocumentFromURL

    Document createDocumentFromURL(String url)


setURL

    void setURL(String url)


getUUID

    byte[] getUUID()

Returns the UUID of the document


setUUID

    void setUUID(byte[] uuid)

Sets the uuid of the document


getPathName

    String getPathName()

Returns the path name of the document


setPathName

    void setPathName(String _pathName)

Sets the path name of the document


getExtension

    String getExtension()

Returns the extension of the document


setExtension

    void setExtension(String newExtension)

Sets the extension of the document


getModelUnit

    float getModelUnit()

Returns the model unit used.


setModelUnit

    void setModelUnit(float _unit)

Sets the momdel unit used.


setXForm

    void setXForm(float[] _xform)


getXForm

    float[] getXForm()


getPortalURLString

    String getPortalURLString()


toString

    String toString()

Constructs and returns a string representation of this Document.


isEqual

    boolean isEqual(Object o)

Compares the equality of an object with this instance

Parameters:
o
- the object to compare with this instance

duplicate

    Document duplicate()


copy

    void copy(Document d)


dispose

    void dispose()


isZeroUUID

    boolean isZeroUUID()



Copyright © 2000, Dassault Systèmes. All rights reserved