|
|
Package com.dassault_systemes.catweb.documents |
Class DocumentV4
|
Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catweb.documents.Document | +-com.dassault_systemes.catweb.documents.DocumentV4
Class Location |
Class Description |
public class DocumentV4
This class represents a V4 document. Such documents can represent any kind of
V4 data (model, session).
They are defined by a pathName.
an UUID
a mnum setted when the model is loaded into memory
a jmodelo also setted when loaded
DocumentV4 extends @see com.dassault_systemes.catweb.documents.Document
Field Summary |
int | mnum |
int | jmodelo |
DocumentV4 | session |
Constructor Summary |
DocumentV4() |
DocumentV4(byte[] _uuid, String _name, int _mnum, int _jmodelo) |
DocumentV4(DocumentV4 d) |
DocumentV4(String name) |
DocumentV4(byte[] uuid, String name) |
Method Summary |
int | getJmodelo() |
void | setJmodelo(int jmodelo) |
int | getMnum() |
void | setMnum(int mnum) |
boolean | isLoaded() |
boolean | isASession() |
boolean | isInASession() |
DocumentV4 | getSession() |
void | setSession(DocumentV4 _session) |
Document | duplicate() |
void | copy(DocumentV4 d) |
Field Detail |
int mnumThe mnum of the V4 document.
int jmodeloThe jmodelo of the V4 document.
DocumentV4 sessionThe session of this V4 document.
Constructor Detail |
DocumentV4()The default constructor.
DocumentV4(byte[] _uuid, String _name, int _mnum, int _jmodelo)Constructor with specific V4 document parameters.
_uuid
_name
_mnum
_jmodelo
DocumentV4(DocumentV4 d)Copy Constructor
d
DocumentV4(String name)Constructor with the document V4 name
name
DocumentV4(byte[] uuid, String name)Constructor with the documenat uuid and the name.
uuid
name
Method Detail |
int getJmodelo()Returns the jmodelo of the document
void setJmodelo(int jmodelo)Sets the jmodelo of the document
int getMnum()Returns the mnum of the document
void setMnum(int mnum)Sets the mnum of the document
boolean isLoaded()Test if the document is loaded. Returns false if the mnum and the jmodelo are equals to 0, otherwise returns true.
boolean isASession()
boolean isInASession()
DocumentV4 getSession()Returns the associated session.
void setSession(DocumentV4 _session)Sets the associated session.
Document duplicate()a copy of this object.
void copy(DocumentV4 d)Copy the specify document in the current instance document.