|
|
|||||
| 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 |
| protected int | jmodelo
The jmodelo of the V4 document. |
| protected int | mnum
The mnum of the V4 document. |
| protected DocumentV4 | session
The session of this V4 document. |
| Constructor Summary |
| DocumentV4()
The default constructor. |
| DocumentV4(byte[] _uuid, String _name, int _mnum, int _jmodelo)
Constructor with specific V4 document parameters. |
| DocumentV4(DocumentV4 d)
Copy Constructor |
| DocumentV4(String name)
Constructor with the document V4 name |
| DocumentV4(byte[] uuid, String name)
Constructor with the documenat uuid and the name. |
| Method Summary |
| public void | copy(DocumentV4 d)
Copy the specify document in the current instance document. |
| public Document | duplicate()
a copy of this object. |
| public int | getJmodelo()
Returns the jmodelo of the document |
| public int | getMnum()
Returns the mnum of the document |
| public DocumentV4 | getSession()
Returns the associated session. |
| public boolean | isASession()
|
| public boolean | isInASession()
|
| public boolean | isLoaded()
Test if the document is loaded. |
| public void | setJmodelo(int jmodelo)
Sets the jmodelo of the document |
| public void | setMnum(int mnum)
Sets the mnum of the document |
| public void | setSession(DocumentV4 _session)
Sets the associated session. |
| Field Detail |
protected int jmodelo
The jmodelo of the V4 document.
protected int mnum
The mnum of the V4 document.
protected DocumentV4 session
The 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.
uuidname| Method Detail |
public void copy(DocumentV4 d)
Copy the specify document in the current instance document.
public Document duplicate()
a copy of this object.
public int getJmodelo()
Returns the jmodelo of the document
public int getMnum()
Returns the mnum of the document
public DocumentV4 getSession()
Returns the associated session.
public boolean isASession()
public boolean isInASession()
public boolean isLoaded()
Test if the document is loaded.
Returns false if the mnum and the jmodelo are equals to 0, otherwise returns true.
public void setJmodelo(int jmodelo)
Sets the jmodelo of the document
public void setMnum(int mnum)
Sets the mnum of the document
public void setSession(DocumentV4 _session)
Sets the associated session.