|
|
||||
| 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 |
| byte[] | coid |
| byte[] | compid |
| String | caenv |
| String | catab |
| String | dbname |
| 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) |
| 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) |
| CDMDocument(CDMDocument d) |
| CDMDocument(byte[] coid, byte[] compid, String caenv, String catab) |
| Method Summary |
| byte[] | getCoid() |
| byte[] | getCompid() |
| String | getCatab() |
| String | getCaenv() |
| String | getDbname() |
| float[] | getMatrix() |
| void | setTransformation(double[] mat) |
| double[] | getTransformation() |
| boolean | isEqual(Object document) |
| String | toString() |
| Field Detail |
byte[] coid
The coid of the document for its database reference
byte[] compid
The compid for the document for its database reference
String caenv
The caenv of the document for its access in database.
String catab
The catab of the document for its access in database.
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 |
byte[] getCoid()
Returns the coid of the document.
byte[] getCompid()
Returns the compid of the document.
String getCatab()
Returns the catab of the document.
String getCaenv()
Returns the catenv of the document.
String getDbname()
Returns the dbname of the document.
float[] getMatrix()
Returns the positionement matrix of the document.
void setTransformation(double[] mat)
double[] getTransformation()
boolean isEqual(Object document)
Compares the equality of an object with this instance
document
String toString()
Constructs and returns a string representation of this CDMDocument.