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

org.opencrx.kernel.generic.jpa3.Description Maven / Gradle / Ivy

The newest version!
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.generic.jpa3;

/**
 * Class {@code Description}
 */
@javax.annotation.Generated(
  value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
  date = "2023-10-28T12:15:41.578265539Z",
  comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
@SuppressWarnings("serial")
public class Description  extends org.w3c.jpa3.AbstractObject
 implements org.opencrx.kernel.generic.cci2.Description
{

  /**
   * Constructor
   */
  public Description(
  ){
    // 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/AttributeGetList
// ----------------------------------------------------------------------------
  /**
   * Retrieves a list containing all the elements for the attribute {@code owner}.
   * @return A list containing all elements for this attribute.
   */
  public java.util.List getOwner(
  ){
    java.util.SortedMap slices = openmdxjdoGetSlices();
    return new org.w3c.jpa3.AbstractObject.SlicedList(slices) {
      @Override
      protected java.lang.String getValue(Description$Slice slice) {
       return slice.getOwner();
      }
      @Override
      protected void setValue(Description$Slice slice, java.lang.String value) {
        openmdxjdoMakeDirty();
        slice.setOwner(value);
      }
      @Override
      protected Description$Slice newSlice(int index) {
        return new Description$Slice(Description.this, index);
      }
      @Override
      protected void setSize(int size) {
        openmdxjdoMakeDirty();
        owner_size = size;
      }
      @Override
      public int size() {
        return owner_size;
      }
    };
  }

// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
  /**
   * Clears {@code owner} and adds the given value(s).
   * 

* This method is equivalent to

   *   list.clear();
   *   for(java.lang.String e : owner){
   *     list.add(e);
   *   }
   * 
* @param owner value(s) to be added to {@code owner} */ public void setOwner( java.lang.String... owner ){ openmdxjdoSetCollection( getOwner(), owner ); } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code modifiedAt}. */ public java.sql.Timestamp modifiedAt; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code modifiedAt}. * @return The non-null value for attribute {@code modifiedAt}. */ public final java.util.Date getModifiedAt( ){ return org.w3c.jpa3.DateTime.toCCI(this.modifiedAt); } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult addOwningGroup( org.opencrx.kernel.base.cci2.ModifyOwningGroupParams in ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Instance referenced by {@code owningUser}. */ java.lang.String owningUser; // ---------------------------------------------------------------------------- // Instance/ReferenceGetx_1NoQualifier // ---------------------------------------------------------------------------- /** * Retrieves the value for the reference {@code owningUser}. * @return The —possibly {@code null}— value for this reference. */ public org.opencrx.security.realm1.cci2.User getOwningUser( ) { throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getOwningUser_Id()."), this ); } public java.lang.String getOwningUser_Id( ) { return this.owningUser; } // ---------------------------------------------------------------------------- // Instance/ReferenceSetNoQualifier // ---------------------------------------------------------------------------- /** * Sets a new value for the reference {@code owningUser}. * @param owningUser The new—possibly {@code null}—value for this reference. */ public void setOwningUser( org.opencrx.security.realm1.cci2.User owningUser ){ throw new javax.jdo.JDOFatalUserException( "Typed set not handled by data object", new UnsupportedOperationException("Use setOwningUser_Id() instead."), this ); } public void setOwningUser_Id( java.lang.String owningUser ) { super.openmdxjdoMakeDirty(); this.owningUser = owningUser; } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.openmdx.base.cci2.Void assertOwningGroup( ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.CheckPermissionsResult checkPermissions( org.opencrx.kernel.base.cci2.CheckPermissionsParams in ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code description}. */ java.lang.String description; // ---------------------------------------------------------------------------- // Instance/AttributeGet0_1 // ---------------------------------------------------------------------------- /** * Retrieves the possibly null value for the optional attribute {@code description}. * @return The possibly null value for attribute {@code description}. */ public final java.lang.String getDescription( ){ return this.description; } // ---------------------------------------------------------------------------- // Instance/AttributeSet0_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute {@code description}. * @param description The possibly null new value for attribute {@code description}. */ public void setDescription( java.lang.String description ){ super.openmdxjdoMakeDirty(); this.description = description; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code language}. */ short language; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code language}. * @return The non-null value for attribute {@code language}. */ public final short getLanguage( ){ return this.language; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute {@code language}. * @param language The non-{@code null} new value for attribute {@code language}. */ public void setLanguage( short language ){ super.openmdxjdoMakeDirty(); this.language = language; } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult removeAllOwningGroup( org.opencrx.kernel.base.cci2.RemoveAllOwningGroupParams in ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult setOwningUser( org.opencrx.kernel.base.cci2.SetOwningUserParams in ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code accessLevelBrowse}. */ short accessLevelBrowse; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code accessLevelBrowse}. * @return The non-null value for attribute {@code accessLevelBrowse}. */ public final short getAccessLevelBrowse( ){ return this.accessLevelBrowse; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute {@code accessLevelBrowse}. * @param accessLevelBrowse The non-{@code null} new value for attribute {@code accessLevelBrowse}. */ public void setAccessLevelBrowse( short accessLevelBrowse ){ super.openmdxjdoMakeDirty(); this.accessLevelBrowse = accessLevelBrowse; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code createdAt}. */ public java.sql.Timestamp createdAt; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code createdAt}. * @return The non-null value for attribute {@code createdAt}. */ public final java.util.Date getCreatedAt( ){ return org.w3c.jpa3.DateTime.toCCI(this.createdAt); } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code detailedDescription}. */ java.lang.String detailedDescription; // ---------------------------------------------------------------------------- // Instance/AttributeGet0_1 // ---------------------------------------------------------------------------- /** * Retrieves the possibly null value for the optional attribute {@code detailedDescription}. * @return The possibly null value for attribute {@code detailedDescription}. */ public final java.lang.String getDetailedDescription( ){ return this.detailedDescription; } // ---------------------------------------------------------------------------- // Instance/AttributeSet0_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute {@code detailedDescription}. * @param detailedDescription The possibly null new value for attribute {@code detailedDescription}. */ public void setDetailedDescription( java.lang.String detailedDescription ){ super.openmdxjdoMakeDirty(); this.detailedDescription = detailedDescription; } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult removeOwningGroup( org.opencrx.kernel.base.cci2.ModifyOwningGroupParams in ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/AttributeGetList // ---------------------------------------------------------------------------- /** * Retrieves a list containing all the elements for the attribute {@code 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(Description$Slice slice) { return slice.getCreatedBy(); } @Override protected void setValue(Description$Slice slice, java.lang.String value) { openmdxjdoMakeDirty(); slice.setCreatedBy(value); } @Override protected Description$Slice newSlice(int index) { return new Description$Slice(Description.this, index); } @Override protected void setSize(int size) { openmdxjdoMakeDirty(); createdBy_size = size; } @Override public int size() { return createdBy_size; } }; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code identity}. */ public java.lang.String identity; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code identity}. * @return The non-null value for attribute {@code identity}. */ public java.lang.String getIdentity( ){ return this.identity; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code accessLevelUpdate}. */ short accessLevelUpdate; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code accessLevelUpdate}. * @return The non-null value for attribute {@code accessLevelUpdate}. */ public final short getAccessLevelUpdate( ){ return this.accessLevelUpdate; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute {@code accessLevelUpdate}. * @param accessLevelUpdate The non-{@code null} new value for attribute {@code accessLevelUpdate}. */ public void setAccessLevelUpdate( short accessLevelUpdate ){ super.openmdxjdoMakeDirty(); this.accessLevelUpdate = accessLevelUpdate; } // ---------------------------------------------------------------------------- // Instance/AttributeGetList // ---------------------------------------------------------------------------- /** * Retrieves a list containing all the elements for the attribute {@code modifiedBy}. * @return A list containing all elements for this attribute. */ public java.util.List getModifiedBy( ){ java.util.SortedMap slices = openmdxjdoGetSlices(); return new org.w3c.jpa3.AbstractObject.SlicedList(slices) { @Override protected java.lang.String getValue(Description$Slice slice) { return slice.getModifiedBy(); } @Override protected void setValue(Description$Slice slice, java.lang.String value) { openmdxjdoMakeDirty(); slice.setModifiedBy(value); } @Override protected Description$Slice newSlice(int index) { return new Description$Slice(Description.this, index); } @Override protected void setSize(int size) { openmdxjdoMakeDirty(); modifiedBy_size = size; } @Override public int size() { return modifiedBy_size; } }; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute {@code accessLevelDelete}. */ short accessLevelDelete; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code accessLevelDelete}. * @return The non-null value for attribute {@code accessLevelDelete}. */ public final short getAccessLevelDelete( ){ return this.accessLevelDelete; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute {@code accessLevelDelete}. * @param accessLevelDelete The non-{@code null} new value for attribute {@code accessLevelDelete}. */ public void setAccessLevelDelete( short accessLevelDelete ){ super.openmdxjdoMakeDirty(); this.accessLevelDelete = accessLevelDelete; } // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nNoQuery // ---------------------------------------------------------------------------- /** * Retrieves the {@code Collection} of objects referenced by {@code owningGroup}. * @return The {@code Collection} of referenced objects. */ public java.util.List getOwningGroup( ){ throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getOwningGroup_Id()."), this ); } public java.util.List getOwningGroup_Id( ){ java.util.SortedMap slices = openmdxjdoGetSlices(); return new org.w3c.jpa3.AbstractObject.SlicedList(slices) { @Override protected java.lang.String getValue(Description$Slice slice) { return slice.getOwningGroup(); } @Override protected void setValue(Description$Slice slice, java.lang.String value) { openmdxjdoMakeDirty(); slice.setOwningGroup(value); } @Override protected Description$Slice newSlice(int index) { return new Description$Slice(Description.this, index); } @Override protected void setSize(int size) { openmdxjdoMakeDirty(); owningGroup_size = size; } @Override public int size() { return owningGroup_size; } }; } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult setAccessLevel( org.opencrx.kernel.base.cci2.SetAccessLevelParams in ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult replaceOwningGroup( org.opencrx.kernel.base.cci2.ModifyOwningGroupsParams in ){ throw new javax.jdo.JDOFatalUserException( "Behavioural features not handled by data object", new UnsupportedOperationException("Behavioural feature"), this ); } // ---------------------------------------------------------------------------- // Instance/End // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute {@code owner} */ int owner_size; // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute {@code createdBy} */ int createdBy_size; // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute {@code modifiedBy} */ int modifiedBy_size; // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute {@code owningGroup} */ int owningGroup_size; // ---------------------------------------------------------------------------- // Instance/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Instance referenced by {@code descriptionContainer}. */ java.lang.String descriptionContainer; // ---------------------------------------------------------------------------- // Instance/ReferenceSetNoQualifier // ---------------------------------------------------------------------------- /** * Sets a new value for the reference {@code descriptionContainer}. * @param descriptionContainer The new non-{@code null} value for this reference. */ public void setDescriptionContainer( org.opencrx.kernel.generic.cci2.DescriptionContainer descriptionContainer ){ throw new javax.jdo.JDOFatalUserException( "Typed set not handled by data object", new UnsupportedOperationException("Use setDescriptionContainer_Id() instead."), this ); } public void setDescriptionContainer_Id( java.lang.String descriptionContainer ) { super.openmdxjdoMakeDirty(); this.descriptionContainer = descriptionContainer; } // ---------------------------------------------------------------------------- // Instance/Containment // ---------------------------------------------------------------------------- }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy