org.opencrx.kernel.account1.jdo2
Class AddressTypeFilterProperty

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.account1.jdo2.AddressFilterProperty
              extended by org.opencrx.kernel.account1.jdo2.AddressTypeFilterProperty
All Implemented Interfaces:
Serializable, AddressAttributeFilterProperty, AddressFilterProperty, AddressTypeFilterProperty, AbstractFilterProperty, AttributeFilterProperty, SecureObject, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class AddressTypeFilterProperty
extends AddressFilterProperty
implements AddressTypeFilterProperty

Class AddressTypeFilterProperty

See Also:
Serialized Form

Nested Class Summary
static class AddressTypeFilterProperty.Slice
          Slice object hold the AddressTypeFilterProperty's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.account1.jdo2.AddressFilterProperty
AddressFilterProperty.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.account1.cci2.AddressFilterProperty
AddressFilterProperty.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::account1::AddressTypeFilterProperty
 
Fields inherited from class org.opencrx.kernel.account1.jdo2.AddressFilterProperty
BASE_CLASS
 
Constructor Summary
AddressTypeFilterProperty()
           
 
Method Summary
 List<Short> getAddressType()
          Retrieves a list containing all the elements for the attribute addressType.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 short getFilterOperator()
          Retrieves the value for the attribute filterOperator.
 short getFilterQuantor()
          Retrieves the value for the attribute filterQuantor.
 String getName()
          Retrieves the value for the attribute name.
 Boolean isActive()
          Retrieves the possibly null value for the optional attribute isActive.
static AddressFilterProperty.Identity newIdentity(Identity addressFilter, QualifierType idType, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
static AddressFilterProperty.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 void setActive(Boolean isActive)
          Sets a new value for the attribute isActive.
 void setAddressType(short... addressType)
          Clears addressType and adds the given value(s).
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setFilterOperator(short filterOperator)
          Sets a new value for the attribute filterOperator.
 void setFilterQuantor(short filterQuantor)
          Sets a new value for the attribute filterQuantor.
 void setName(String name)
          Sets a new value for the attribute name.
 
Methods inherited from class org.opencrx.kernel.account1.jdo2.AddressFilterProperty
addOwningGroup, addToAddressFilter, addToAddressFilter, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getView, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::account1::AddressTypeFilterProperty

Constructor Detail

AddressTypeFilterProperty

public AddressTypeFilterProperty()
Method Detail

getFilterQuantor

public short getFilterQuantor()
Retrieves the value for the attribute filterQuantor.

Specified by:
getFilterQuantor in interface AttributeFilterProperty
Returns:
The non-null value for attribute filterQuantor.

setFilterQuantor

public void setFilterQuantor(short filterQuantor)
Sets a new value for the attribute filterQuantor.

Specified by:
setFilterQuantor in interface AttributeFilterProperty
Parameters:
filterQuantor - The non-null new value for attribute filterQuantor.

getFilterOperator

public short getFilterOperator()
Retrieves the value for the attribute filterOperator.

Specified by:
getFilterOperator in interface AttributeFilterProperty
Returns:
The non-null value for attribute filterOperator.

setFilterOperator

public void setFilterOperator(short filterOperator)
Sets a new value for the attribute filterOperator.

Specified by:
setFilterOperator in interface AttributeFilterProperty
Parameters:
filterOperator - The non-null new value for attribute filterOperator.

getDescription

public final String getDescription()
Retrieves the possibly null value for the optional attribute description.

Specified by:
getDescription in interface AbstractFilterProperty
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String description)
Sets a new value for the attribute description.

Specified by:
setDescription in interface AbstractFilterProperty
Parameters:
description - The possibly null new value for attribute description.

getName

public String getName()
Retrieves the value for the attribute name.

Specified by:
getName in interface AbstractFilterProperty
Returns:
The non-null value for attribute name.

setName

public void setName(String name)
Sets a new value for the attribute name.

Specified by:
setName in interface AbstractFilterProperty
Parameters:
name - The non-null new value for attribute name.

getAddressType

public final List<Short> getAddressType()
Retrieves a list containing all the elements for the attribute addressType.

Specified by:
getAddressType in interface AddressTypeFilterProperty
Returns:
A list containing all elements for this attribute.

setAddressType

public void setAddressType(short... addressType)
Clears addressType and adds the given value(s).

This method is equivalent to

   list.clear();
   for(short e : attributeName){
     list.add(e);
   }
 

Specified by:
setAddressType in interface AddressTypeFilterProperty
Parameters:
addressType - value(s) to be added to addressType

isActive

public final Boolean isActive()
Retrieves the possibly null value for the optional attribute isActive.

Specified by:
isActive in interface AbstractFilterProperty
Returns:
The possibly null value for attribute isActive.

setActive

public void setActive(Boolean isActive)
Sets a new value for the attribute isActive.

Specified by:
setActive in interface AbstractFilterProperty
Parameters:
isActive - The possibly null new value for attribute isActive.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class AddressFilterProperty

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class AddressFilterProperty

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class AddressFilterProperty

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class AddressFilterProperty
Returns:
the model class
See Also:
AddressTypeFilterProperty.CLASS

newIdentity

public static AddressFilterProperty.Identity newIdentity(Identity addressFilter,
                                                         QualifierType idType,
                                                         String id)

openmdxjdoToIdentity

public static AddressFilterProperty.Identity openmdxjdoToIdentity(ObjectId objectId)


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.