org.opencrx.kernel.generic.jpa3.Note$Slice Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.generic.jpa3;
/**
* {@code Note$Slice} object hold the {@code Note}'s multivalued attributes
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:41.551832654Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
@SuppressWarnings("serial")
public class Note$Slice implements java.io.Serializable {
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code userNumber4}.
*/
java.math.BigDecimal userNumber4;
public java.math.BigDecimal getUserNumber4(
){
return this.userNumber4;
}
public void setUserNumber4(
java.math.BigDecimal value
){
this.userNumber4 = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code userDate4}.
*/
java.sql.Date userDate4;
public java.sql.Date getUserDate4(
){
return this.userDate4;
}
public void setUserDate4(
java.sql.Date value
){
this.userDate4 = value;
}
// ----------------------------------------------------------------------------
// Instance/ReferenceDeclaration
// ----------------------------------------------------------------------------
/**
* Instance referenced by {@code owningGroup}.
*/
java.lang.String owningGroup;
public java.lang.String getOwningGroup(
){
return this.owningGroup;
}
public void setOwningGroup(
java.lang.String value
){
this.owningGroup = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code userString4}.
*/
java.lang.String userString4;
public java.lang.String getUserString4(
){
return this.userString4;
}
public void setUserString4(
java.lang.String value
){
this.userString4 = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code userBoolean4}.
*/
java.lang.Boolean userBoolean4;
public java.lang.Boolean getUserBoolean4(
){
return this.userBoolean4;
}
public void setUserBoolean4(
java.lang.Boolean value
){
this.userBoolean4 = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code modifiedBy}.
*/
java.lang.String modifiedBy;
public java.lang.String getModifiedBy(
){
return this.modifiedBy;
}
public void setModifiedBy(
java.lang.String value
){
this.modifiedBy = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code owner}.
*/
java.lang.String owner;
public java.lang.String getOwner(
){
return this.owner;
}
public void setOwner(
java.lang.String value
){
this.owner = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code userCode4}.
*/
java.lang.Short userCode4;
public java.lang.Short getUserCode4(
){
return this.userCode4;
}
public void setUserCode4(
java.lang.Short value
){
this.userCode4 = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code createdBy}.
*/
java.lang.String createdBy;
public java.lang.String getCreatedBy(
){
return this.createdBy;
}
public void setCreatedBy(
java.lang.String value
){
this.createdBy = value;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute {@code userDateTime4}.
*/
java.sql.Timestamp userDateTime4;
public java.sql.Timestamp getUserDateTime4(
){
return this.userDateTime4;
}
public void setUserDateTime4(
java.sql.Timestamp value
){
this.userDateTime4 = value;
}
/**
* Constructor
*/
public Note$Slice(
){
// Implements Serializable
}
/**
* Constructor
*/
protected Note$Slice(
Note object,
int index
){
this.openmdxjdoIdentity = object;
this.openmdxjdoIndex = index;
}
/**
* The slice's index
*/
@SuppressWarnings("unused")
private int openmdxjdoIndex;
/**
* The slice's owner
*/
@SuppressWarnings("unused")
private Note openmdxjdoIdentity;
// ----------------------------------------------------------------------------
// Instance/SliceId
// ----------------------------------------------------------------------------
/**
* The slices' compound identity class
*/
public static class SliceId implements java.io.Serializable {
/**
* The parent's object id
*/
public java.lang.String openmdxjdoIdentity;
/**
* The slice's index
*/
public int openmdxjdoIndex;
/**
* Test for equality.
*
* This method is required by JPA.
* @param that the object to be compared
* @return {@code true} if the two ids refer to the same slice object
*/
@Override
public boolean equals(java.lang.Object that) {
return this == that || (
that instanceof SliceId &&
this.openmdxjdoIndex == ((SliceId)that).openmdxjdoIndex &&
(this.openmdxjdoIdentity == null ? ((SliceId)that).openmdxjdoIdentity == null : this.openmdxjdoIdentity.equals(((SliceId)that).openmdxjdoIdentity))
);
}
/**
* Calculate the slice id's hash code.
*
* This method is should be overridden together with {@link #equals(java.lang.Object)}.
* @return the slice id's hash code
*/
@Override
public int hashCode() {
return this.openmdxjdoIndex + (this.openmdxjdoIdentity == null ? 0 : this.openmdxjdoIdentity.hashCode());
}
/**
* Provide the slice id's string representation
* @return the slice id's string representation
*/
@Override
public java.lang.String toString() {
return new java.lang.StringBuilder().append(this.openmdxjdoIdentity).append('#').append(this.openmdxjdoIndex).toString();
}
}
}