* @throws DmcValueException
*/
public void serializeIt(DmcOutputStreamIF dos) throws Exception, DmcValueException {
synchronized (attributes) {
// WRITE: the objectClass
DmcTypeClassDefinitionREFMV oc = (DmcTypeClassDefinitionREFMV) get(__objectClass.id);
// WRITE: the object class is serialized as [class count] id id id...
dos.writeInt(oc.getMVSize());
for(int i=0; i<oc.getMVSize(); i++){
dos.writeInt(oc.getMVnth(i).getClassInfo().id);
}
// We have to determine the number of attributes we're going to write. That will
// depend on the dataType of the attributes and the mode that the output stream
// is in.