|
|
||||
| Package com.dassault_systemes.catweb.documents |
Class Document
|
| Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catweb.documents.Document
| Class Location |
| 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 |
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 Detail |
Document(Document doc)
Copy Constructor
doc
Document(byte[] _UUID, String _pathName)
Constructor with uuid and path name parameters.
_UUID_pathName
Document()
The default constructor.
Document(String _pathName)
Constructor with pathanme.
_pathName| Method Detail |
Document createDocumentFromURL(String url)
void setURL(String url)
byte[] getUUID()
Returns the UUID of the document
void setUUID(byte[] uuid)
Sets the uuid of the document
String getPathName()
Returns the path name of the document
void setPathName(String _pathName)
Sets the path name of the document
String getExtension()
Returns the extension of the document
void setExtension(String newExtension)
Sets the extension of the document
float getModelUnit()
Returns the model unit used.
void setModelUnit(float _unit)
Sets the momdel unit used.
void setXForm(float[] _xform)
float[] getXForm()
String getPortalURLString()
String toString()
Constructs and returns a string representation of this Document.
boolean isEqual(Object o)
Compares the equality of an object with this instance
o
Document duplicate()
void copy(Document d)
void dispose()
boolean isZeroUUID()