All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmdx.audit2.jpa3.UnitOfWork Maven / Gradle / Ivy

There is a newer version: 2.18.10
Show newest version
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $
// Generated by: openMDX Java Mapper
// Date: Mon Mar 09 17:04:35 CET 2020
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.audit2.jpa3;

/**
 * Class UnitOfWork
 *

*
*/ @SuppressWarnings("serial") public class UnitOfWork extends org.w3c.jpa3.AbstractObject implements org.openmdx.audit2.cci2.UnitOfWork { /** * Constructor */ public UnitOfWork( ){ // Implements Serializable } /** * The the object's JDO identity key */ private java.lang.String openmdxjdoIdentity; /** * Retrieve the object's JDO identity key * @return the value of the object's JDO identity key */ @Override protected java.lang.String getOpenmdxjdoIdentity( ){ return this.openmdxjdoIdentity; } /** * Set the object's JDO identity key */ @Override protected void setOpenmdxjdoIdentity( String value ){ this.openmdxjdoIdentity = value; } /** * Slice holder */ private java.util.TreeMap openmdxjdoSlices = new java.util.TreeMap(); @SuppressWarnings("unchecked") protected final java.util.SortedMap openmdxjdoGetSlices( ){ return (java.util.SortedMap)this.openmdxjdoSlices; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute unitOfWorkId. */ public java.lang.String unitOfWorkId; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute unitOfWorkId. * @return The non-null value for attribute unitOfWorkId. */ public final java.lang.String getUnitOfWorkId( ){ return this.unitOfWorkId; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute createdAt. */ public java.sql.Timestamp createdAt; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute createdAt. * @return The non-null value for attribute createdAt. */ public final java.util.Date getCreatedAt( ){ return org.w3c.jpa3.DateTime.toCCI(this.createdAt); } // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nWithQuery // ---------------------------------------------------------------------------- /** * Retrieves a set containing all the elements for the reference involvement. * @return A set containing all the elements for this reference. */ public org.openmdx.audit2.cci2.UnitOfWorkInvolvesObject.Involvement getInvolvement( ){ throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use query on composites."), this ); } // ---------------------------------------------------------------------------- // Instance/AttributeGetList // ---------------------------------------------------------------------------- /** * Retrieves a list containing all the elements for the attribute createdBy. * @return A list containing all elements for this attribute. */ public java.util.List getCreatedBy( ){ java.util.SortedMap slices = openmdxjdoGetSlices(); return new org.w3c.jpa3.AbstractObject.SlicedList(slices) { @Override protected java.lang.String getValue(UnitOfWork$Slice slice) { return slice.getCreatedBy(); } @Override protected void setValue(UnitOfWork$Slice slice, java.lang.String value) { openmdxjdoMakeDirty(); slice.setCreatedBy(value); } @Override protected UnitOfWork$Slice newSlice(int index) { return new UnitOfWork$Slice(UnitOfWork.this, index); } @Override protected void setSize(int size) { openmdxjdoMakeDirty(); createdBy_size = size; } @Override public int size() { return createdBy_size; } }; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute taskId. */ java.lang.String taskId; // ---------------------------------------------------------------------------- // Instance/AttributeGet0_1 // ---------------------------------------------------------------------------- /** * Retrieves the possibly null value for the optional attribute taskId. * @return The possibly null value for attribute taskId. */ public final java.lang.String getTaskId( ){ return this.taskId; } // ---------------------------------------------------------------------------- // Instance/AttributeSet0_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute taskId. * @param taskId The possibly null new value for attribute taskId. */ public void setTaskId( java.lang.String taskId ){ super.openmdxjdoMakeDirty(); this.taskId = taskId; } // ---------------------------------------------------------------------------- // Instance/End // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute createdBy */ int createdBy_size; // ---------------------------------------------------------------------------- // Instance/Begin // ---------------------------------------------------------------------------- ////////////////////////////////////////////////////////////////////////////// // // Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $ // Generated by: openMDX Java Mapper // Date: Mon Mar 09 17:04:35 CET 2020 // // GENERATED - DO NOT CHANGE MANUALLY // ////////////////////////////////////////////////////////////////////////////// // ---------------------------------------------------------------------------- // Instance/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Instance referenced by segment. */ java.lang.String segment; // ---------------------------------------------------------------------------- // Instance/ReferenceSetNoQualifier // ---------------------------------------------------------------------------- /** * Sets a new value for the reference segment. * @param segment The new non-null value for this reference. */ public void setSegment( org.openmdx.audit2.jpa3.Segment segment ){ throw new javax.jdo.JDOFatalUserException( "Typed set not handled by data object", new UnsupportedOperationException("Use setSegment_Id() instead."), this ); } public void setSegment_Id( java.lang.String segment ) { super.openmdxjdoMakeDirty(); this.segment = segment; } // ---------------------------------------------------------------------------- // Instance/Containment // ---------------------------------------------------------------------------- }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy