org.openmdx.generic1.jpa3.BooleanProperty Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// 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.generic1.jpa3;
/**
* Class BooleanProperty
*/
@SuppressWarnings("serial")
public class BooleanProperty extends org.openmdx.generic1.jpa3.Property
implements org.openmdx.generic1.cci2.BooleanProperty
{
/**
* Constructor
*/
public BooleanProperty(
){
// Implements Serializable
}
// ----------------------------------------------------------------------------
// Instance/AttributeGetSparseArray
// ----------------------------------------------------------------------------
/**
* Retrieves a SparseArray containing all the elements for the attribute booleanValue
.
* @return A SparseArray containing all elements for this attribute.
*/
public org.w3c.cci2.SparseArray getBooleanValue(
){
java.util.SortedMap slices = openmdxjdoGetSlices();
return org.w3c.cci2.SortedMaps.asSparseArray(
new org.w3c.jpa3.AbstractObject.SlicedMap(slices) {
@Override
protected java.lang.Boolean getValue(BooleanProperty$Slice slice) {
return slice.getBooleanValue();
}
@Override
protected void setValue(BooleanProperty$Slice slice, java.lang.Boolean value) {
openmdxjdoMakeDirty();
slice.setBooleanValue(value);
}
@Override
protected BooleanProperty$Slice newSlice(int index) {
return new BooleanProperty$Slice(BooleanProperty.this, index);
}
@Override
protected void setSize(int size) {
openmdxjdoMakeDirty();
booleanValue_size = size;
}
@Override
public int size() {
return booleanValue_size;
}
}
);
}
// ----------------------------------------------------------------------------
// Instance/AttributeSetSparseArray
// ----------------------------------------------------------------------------
/**
* Clears booleanValue
and adds the given value(s).
*
* This method is equivalent to
* array.clear();
* array.putAll(booleanValue);
*
* @param booleanValue value(s) to be added to booleanValue
*/
public void setBooleanValue(
java.util.Map booleanValue
){
openmdxjdoSetArray(
getBooleanValue(),
booleanValue
);
}
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/DeclareSize
// ----------------------------------------------------------------------------
/**
* Number of elements of attribute booleanValue
*/
int booleanValue_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
//
//////////////////////////////////////////////////////////////////////////////
}