Examples of enString()


Examples of org.apache.isis.core.metamodel.adapter.oid.RootOidDefault.enString()

                final RootOidDefault rootOidDefault = (RootOidDefault) oid;
                if (rootOidDefault.isTransient()) {
                    throw new ObjectPersistenceException("Can't add tranisent OID (" + oid + ") to " + field + " element.");
                }
                writer.append("    <element ");
                Utils.appendAttribute(writer, "oid", rootOidDefault.enString(getOidMarshaller()));
                writer.append("/>\n");
            }
            writer.append("  </multiple-association>\n");
            writer.flush();
        }
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.oid.TypedOid.enString()

        //
        AggregatedOid aggregatedOid = (AggregatedOid) typedOid;
        final TypedOid parentOid = aggregatedOid.getParentOid();

        //final ObjectAdapter parentAdapter = objectMapping.mappedObject(idParts[0] + "@" + idParts[1]);
        final ObjectAdapter parentAdapter = objectMapping.mappedObject(parentOid.enString(getOidMarshaller()));
        getPersistenceSession().resolveImmediately(parentAdapter);

        //ObjectSpecId objectType = null;
        //final AggregatedOid aggregatedOid = new AggregatedOid(objectType, (TypedOid) parentAdapter.getOid(), idParts[2]);
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.oid.stringable.directly.DirectlyStringableOid.enString()

        /*
         * if (oid == null) { return "" + object.hashCode(); }
         */
        if (oid instanceof DirectlyStringableOid) {
            final DirectlyStringableOid directlyStringableOid = (DirectlyStringableOid) oid;
            return directlyStringableOid.enString();
        } else {
            return oid.toString();
        }
        /*
         * InlineTransferableWriter itw = new InlineTransferableWriter();
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.oid.stringable.directly.DirectlyStringableOid.enString()

        /*
         * if (oid == null) { return "" + object.hashCode(); }
         */
        if (oid instanceof DirectlyStringableOid) {
      DirectlyStringableOid directlyStringableOid = (DirectlyStringableOid) oid;
          return directlyStringableOid.enString();
        } else {
          return oid.toString();
        }
        /*
         * InlineTransferableWriter itw = new InlineTransferableWriter(); oid.writeData(itw); itw.close();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.