@Override public ObjectID getParentObjectID() throws DNAException { return dna.getParentObjectID(); }
@Override public ObjectID getParentObjectID() throws DNAException { return dna.getParentObjectID(); }
private Object createNewPojoObject(TCClass clazz, DNA dna) { if (clazz.isUseNonDefaultConstructor()) { try { return this.factory.getNewPeerObject(clazz, dna); } catch (final IOException e) { throw new TCRuntimeException(e); } catch (final ClassNotFoundException e) { throw new TCRuntimeException(e); } } else { return createNewPojoObject(clazz, dna.getArraySize(), dna.getObjectID(), dna.getParentObjectID()); } }
private Object createNewPojoObject(TCClass clazz, DNA dna) { if (clazz.isUseNonDefaultConstructor()) { try { return this.factory.getNewPeerObject(clazz, dna); } catch (final IOException e) { throw new TCRuntimeException(e); } catch (final ClassNotFoundException e) { throw new TCRuntimeException(e); } } else { return createNewPojoObject(clazz, dna.getArraySize(), dna.getObjectID(), dna.getParentObjectID()); } }
throw new AssertionError("Creating state on an initialized object."); setState(getStateFactory().createState(this.id, dna.getParentObjectID(), dna.getTypeName(), cursor));