|
|
|||||
| Package com.dassault_systemes.catweb.documents |
Class CDMDocument
|
| Class Hierarchy |
java.lang.Object
|
+-com.dassault_systemes.catweb.documents.Document
|
+-com.dassault_systemes.catweb.documents.DocumentV4
|
+-com.dassault_systemes.catweb.documents.CDMDocument
| Class Location |
| Class Description |
public class CDMDocument
This class represents a V4 CDM Document
It can be use to represent either a model in an assembly or a model from a database
A CDMDocument is defined by a dbname, a catab and a caenv for its access in the database
a compid and a coid for its reference in the database
eventually a matrix for its positionnement
| Field Summary |
| protected String | caenv
The caenv of the document for its access in database. |
| protected String | catab
The catab of the document for its access in database. |
| protected byte[] | coid
The coid of the document for its database reference |
| protected byte[] | compid
The compid for the document for its database reference |
| protected String | dbname
The dbname of the document in the database. |
| Constructor Summary |
| CDMDocument(byte[] _uuid, String _name, int _mnum, int _jmodelo, String _dbname, float[] _mat, byte[] _coid, byte[] _compid, String _caenv, String _catab)
|
| CDMDocument(byte[] _uuid, String _name, int _mnum, int _jmodelo, String _dbname, double[] _mat, byte[] _coid, byte[] _compid, String _caenv, String _catab)
Constructor with full parameters. |
| CDMDocument(String dbname, float[] mat, byte[] coid, byte[] compid, String caenv, String catab)
|
| CDMDocument(String dbname, double[] mat, byte[] coid, byte[] compid, String caenv, String catab)
Constructor with CDM data access parameters. |
| CDMDocument(CDMDocument d)
Copy Constructor |
| CDMDocument(byte[] coid, byte[] compid, String caenv, String catab)
Constructor used when the model is in an assembly |
| Method Summary |
| public String | getCaenv()
Returns the catenv of the document. |
| public String | getCatab()
Returns the catab of the document. |
| public byte[] | getCoid()
Returns the coid of the document. |
| public byte[] | getCompid()
Returns the compid of the document. |
| public String | getDbname()
Returns the dbname of the document. |
| public float[] | getMatrix()
Returns the positionement matrix of the document. |
| public double[] | getTransformation()
|
| public boolean | isEqual(Object document)
Compares the equality of an object with this instance |
| public void | setTransformation(double[] mat)
|
| public String | toString()
Constructs and returns a string representation of this CDMDocument. |
| Field Detail |
protected String caenv
The caenv of the document for its access in database.
protected String catab
The catab of the document for its access in database.
protected byte[] coid
The coid of the document for its database reference
protected byte[] compid
The compid for the document for its database reference
protected String dbname
The dbname of the document in the database.
| Constructor Detail |
CDMDocument(byte[] _uuid, String _name, int _mnum, int _jmodelo, String _dbname, float[] _mat, byte[] _coid, byte[] _compid, String _caenv, String _catab)
_uuid_name_mnum_jmodelo_dbname_mat_coid_compid_caenv_catab
CDMDocument(byte[] _uuid, String _name, int _mnum, int _jmodelo, String _dbname, double[] _mat, byte[] _coid, byte[] _compid, String _caenv, String _catab)
Constructor with full parameters.
_uuid_name_mnum_jmodelo_dbname_mat_coid_compid_caenv_catab
CDMDocument(String dbname, float[] mat, byte[] coid, byte[] compid, String caenv, String catab)
CDMDocument(String dbname, double[] mat, byte[] coid, byte[] compid, String caenv, String catab)
Constructor with CDM data access parameters.
CDMDocument(CDMDocument d)
Copy Constructor
d
CDMDocument(byte[] coid, byte[] compid, String caenv, String catab)
Constructor used when the model is in an assembly
coidcompidcaenvcatab| Method Detail |
public String getCaenv()
Returns the catenv of the document.
public String getCatab()
Returns the catab of the document.
public byte[] getCoid()
Returns the coid of the document.
public byte[] getCompid()
Returns the compid of the document.
public String getDbname()
Returns the dbname of the document.
public float[] getMatrix()
Returns the positionement matrix of the document.
public double[] getTransformation()
public boolean isEqual(Object document)
Compares the equality of an object with this instance
document
public void setTransformation(double[] mat)
public String toString()
Constructs and returns a string representation of this CDMDocument.