nl.karpi.bm.generated
Class Collectie

java.lang.Object
  extended by nl.knowledgeplaza.util.AbstractBean<T>
      extended by nl.knowledgeplaza.util.jpa.AbstractBean<T>
          extended by nl.knowledgeplaza.util.jpa.AbstractBeanEclipselink<T>
              extended by nl.karpi.bm.AbstractBean<Collectie>
                  extended by nl.karpi.bm.generated.Collectie
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Collectie>, nl.knowledgeplaza.util.jpa.EclipselinkDescriptorEventListenerRouter.EclipselinkEntityEventListener, nl.knowledgeplaza.util.jpa.JpaUtil.JpaEntityInformation, nl.knowledgeplaza.util.property.Property.PropertyBean, nl.knowledgeplaza.util.PropertyChangeProvider
Direct Known Subclasses:
Collectie

public abstract class Collectie
extends AbstractBean<Collectie>
implements java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Collectie>

A JPA entity class for collectie.

See Also:
Serialized Form

Nested Class Summary
static class Collectie.ComparatorCollectienr
           
 
Field Summary
protected  java.util.List<Collectieitem> collectieitemsWhereIAmCollectie
           
static java.lang.String COLLECTIEITEMSWHEREIAMCOLLECTIE_FIELD_ID
           
static java.lang.Class COLLECTIEITEMSWHEREIAMCOLLECTIE_PROPERTY_CLASS
           
static java.lang.String COLLECTIEITEMSWHEREIAMCOLLECTIE_PROPERTY_ID
           
protected  java.math.BigInteger collectienr
           
static java.lang.String COLLECTIENR_COLUMN_NAME
           
static java.lang.String COLLECTIENR_FIELD_ID
           
static java.lang.Class COLLECTIENR_PROPERTY_CLASS
           
static java.lang.String COLLECTIENR_PROPERTY_ID
           
static int COLLECTIENR_PROPERTY_LENGTH
           
static boolean COLLECTIENR_PROPERTY_NULLABLE
           
static int COLLECTIENR_PROPERTY_PRECISION
           
static java.util.Comparator<Collectie> COMPARATOR_COLLECTIENR
          A comparator that compares on collectienr
protected  java.util.List<Klantgroep> klantgroepsWhereIAmCollectie
           
static java.lang.String KLANTGROEPSWHEREIAMCOLLECTIE_FIELD_ID
           
static java.lang.Class KLANTGROEPSWHEREIAMCOLLECTIE_PROPERTY_CLASS
           
static java.lang.String KLANTGROEPSWHEREIAMCOLLECTIE_PROPERTY_ID
           
protected  java.lang.String naam
           
static java.lang.String NAAM_COLUMN_NAME
           
static java.lang.String NAAM_FIELD_ID
           
static java.lang.Class NAAM_PROPERTY_CLASS
           
static java.lang.String NAAM_PROPERTY_ID
           
static int NAAM_PROPERTY_LENGTH
           
static boolean NAAM_PROPERTY_NULLABLE
           
 
Fields inherited from class nl.knowledgeplaza.util.jpa.AbstractBeanEclipselink
iReadFromStorage
 
Constructor Summary
Collectie()
           
 
Method Summary
 void addCollectieitemsWhereIAmCollectie(Collectieitem value)
          CollectieitemsWhereIAmCollectie
 void addKlantgroepsWhereIAmCollectie(Klantgroep value)
          KlantgroepsWhereIAmCollectie
 void clearProperties()
          clear properties
 java.lang.Object clone()
          clone
 Collectie cloneShallow()
           
 int compareTo(Collectie o)
          default compare on primary key
 boolean equals(java.lang.Object o)
           
static java.util.List<Collectie> findAll()
          find all entities
static java.util.List<Collectie> findAllOrderedBy(java.lang.String orderedBy)
          find all entities ordered by
static Collectie findAndLockByPK(java.math.BigInteger collectienr)
           
static Collectie findAndLockByPK(int id)
           
static Collectie findAndLockByPK(long id)
           
static Collectie findByCollectienr(java.math.BigInteger collectienr)
           
static Collectie findByPK(java.math.BigInteger collectienr)
           
static Collectie findByPK(int id)
           
static Collectie findByPK(long id)
           
 java.util.List<Collectieitem> getCollectieitemsWhereIAmCollectie()
          returns a new list containing a snapshot of the actual list, instead of an returning an unmodifyableList.
 java.math.BigInteger getCollectienr()
          Collectienr
 java.util.List<Klantgroep> getKlantgroepsWhereIAmCollectie()
          returns a new list containing a snapshot of the actual list, instead of an returning an unmodifyableList.
 java.lang.String getNaam()
          Naam
 int hashCode()
           
 void rememberAtLoadTimeValues()
           
 void removeCollectieitemsWhereIAmCollectie(Collectieitem value)
           
 void removeKlantgroepsWhereIAmCollectie(Klantgroep value)
           
 void setCollectieitemsWhereIAmCollectie(java.util.List<Collectieitem> value)
           
 void setCollectienr(java.math.BigInteger value)
           
 void setKlantgroepsWhereIAmCollectie(java.util.List<Klantgroep> value)
           
 void setNaam(java.lang.String value)
           
static void shallowCopy(Collectie original, Collectie copy)
          shallow copy, used for cloning but also for e.g. updating an entity in a REST PUT
 java.lang.String toString()
           
static java.lang.String translate(java.lang.String id)
          Using the Internationalization class
static java.lang.String translate(java.lang.String id, boolean nullable)
           
 Collectie withCollectieitemsWhereIAmCollectie(java.util.List<Collectieitem> value)
           
 Collectie withCollectienr(java.math.BigInteger value)
           
 Collectie withKlantgroepsWhereIAmCollectie(java.util.List<Klantgroep> value)
           
 Collectie withNaam(java.lang.String value)
           
 
Methods inherited from class nl.karpi.bm.AbstractBean
getdate
 
Methods inherited from class nl.knowledgeplaza.util.jpa.AbstractBeanEclipselink
aboutToDelete, aboutToInsert, aboutToUpdate, isAlreadyPersisted, isOverriddenEvent, postBuild, postClone, postDelete, postInsert, postLoadHook, postMerge, postPersistHook, postRefresh, postRemoveHook, postSaveHook, postUpdate, postUpdateHook, postWrite, preDelete, preInsert, prePersist, prePersistHook, preRemove, preRemoveHook, preSaveHook, preUpdate, preUpdateHook, preUpdateWithChanges, preWrite
 
Methods inherited from class nl.knowledgeplaza.util.jpa.AbstractBean
ignoreAllChanges, ignoreChanges, isDirty, isReadonly, markAsDirty, markedAsDirtyHook, registerAllChanges, registerChanges, setReadonly, touch
 
Methods inherited from class nl.knowledgeplaza.util.AbstractBean
addProperty, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COLLECTIEITEMSWHEREIAMCOLLECTIE_FIELD_ID

public static final java.lang.String COLLECTIEITEMSWHEREIAMCOLLECTIE_FIELD_ID
See Also:
Constant Field Values

COLLECTIEITEMSWHEREIAMCOLLECTIE_PROPERTY_ID

public static final java.lang.String COLLECTIEITEMSWHEREIAMCOLLECTIE_PROPERTY_ID
See Also:
Constant Field Values

COLLECTIEITEMSWHEREIAMCOLLECTIE_PROPERTY_CLASS

public static final java.lang.Class COLLECTIEITEMSWHEREIAMCOLLECTIE_PROPERTY_CLASS

collectieitemsWhereIAmCollectie

protected volatile java.util.List<Collectieitem> collectieitemsWhereIAmCollectie

KLANTGROEPSWHEREIAMCOLLECTIE_FIELD_ID

public static final java.lang.String KLANTGROEPSWHEREIAMCOLLECTIE_FIELD_ID
See Also:
Constant Field Values

KLANTGROEPSWHEREIAMCOLLECTIE_PROPERTY_ID

public static final java.lang.String KLANTGROEPSWHEREIAMCOLLECTIE_PROPERTY_ID
See Also:
Constant Field Values

KLANTGROEPSWHEREIAMCOLLECTIE_PROPERTY_CLASS

public static final java.lang.Class KLANTGROEPSWHEREIAMCOLLECTIE_PROPERTY_CLASS

klantgroepsWhereIAmCollectie

protected volatile java.util.List<Klantgroep> klantgroepsWhereIAmCollectie

collectienr

protected volatile java.math.BigInteger collectienr

COLLECTIENR_COLUMN_NAME

public static final java.lang.String COLLECTIENR_COLUMN_NAME
See Also:
Constant Field Values

COLLECTIENR_FIELD_ID

public static final java.lang.String COLLECTIENR_FIELD_ID
See Also:
Constant Field Values

COLLECTIENR_PROPERTY_ID

public static final java.lang.String COLLECTIENR_PROPERTY_ID
See Also:
Constant Field Values

COLLECTIENR_PROPERTY_CLASS

public static final java.lang.Class COLLECTIENR_PROPERTY_CLASS

COLLECTIENR_PROPERTY_NULLABLE

public static final boolean COLLECTIENR_PROPERTY_NULLABLE
See Also:
Constant Field Values

COLLECTIENR_PROPERTY_LENGTH

public static final int COLLECTIENR_PROPERTY_LENGTH
See Also:
Constant Field Values

COLLECTIENR_PROPERTY_PRECISION

public static final int COLLECTIENR_PROPERTY_PRECISION
See Also:
Constant Field Values

naam

protected volatile java.lang.String naam

NAAM_COLUMN_NAME

public static final java.lang.String NAAM_COLUMN_NAME
See Also:
Constant Field Values

NAAM_FIELD_ID

public static final java.lang.String NAAM_FIELD_ID
See Also:
Constant Field Values

NAAM_PROPERTY_ID

public static final java.lang.String NAAM_PROPERTY_ID
See Also:
Constant Field Values

NAAM_PROPERTY_CLASS

public static final java.lang.Class NAAM_PROPERTY_CLASS

NAAM_PROPERTY_NULLABLE

public static final boolean NAAM_PROPERTY_NULLABLE
See Also:
Constant Field Values

NAAM_PROPERTY_LENGTH

public static final int NAAM_PROPERTY_LENGTH
See Also:
Constant Field Values

COMPARATOR_COLLECTIENR

public static final java.util.Comparator<Collectie> COMPARATOR_COLLECTIENR
A comparator that compares on collectienr

Constructor Detail

Collectie

public Collectie()
Method Detail

addCollectieitemsWhereIAmCollectie

public void addCollectieitemsWhereIAmCollectie(Collectieitem value)
CollectieitemsWhereIAmCollectie


removeCollectieitemsWhereIAmCollectie

public void removeCollectieitemsWhereIAmCollectie(Collectieitem value)

setCollectieitemsWhereIAmCollectie

public void setCollectieitemsWhereIAmCollectie(java.util.List<Collectieitem> value)

withCollectieitemsWhereIAmCollectie

public Collectie withCollectieitemsWhereIAmCollectie(java.util.List<Collectieitem> value)

getCollectieitemsWhereIAmCollectie

public java.util.List<Collectieitem> getCollectieitemsWhereIAmCollectie()
returns a new list containing a snapshot of the actual list, instead of an returning an unmodifyableList. Either require a new object to be created, but the snapshot allows a.o. sorting without creating another object. Changes to the list are NOT reflected in the BM and vice versa!


addKlantgroepsWhereIAmCollectie

public void addKlantgroepsWhereIAmCollectie(Klantgroep value)
KlantgroepsWhereIAmCollectie


removeKlantgroepsWhereIAmCollectie

public void removeKlantgroepsWhereIAmCollectie(Klantgroep value)

setKlantgroepsWhereIAmCollectie

public void setKlantgroepsWhereIAmCollectie(java.util.List<Klantgroep> value)

withKlantgroepsWhereIAmCollectie

public Collectie withKlantgroepsWhereIAmCollectie(java.util.List<Klantgroep> value)

getKlantgroepsWhereIAmCollectie

public java.util.List<Klantgroep> getKlantgroepsWhereIAmCollectie()
returns a new list containing a snapshot of the actual list, instead of an returning an unmodifyableList. Either require a new object to be created, but the snapshot allows a.o. sorting without creating another object. Changes to the list are NOT reflected in the BM and vice versa!


getCollectienr

public java.math.BigInteger getCollectienr()
Collectienr


setCollectienr

public void setCollectienr(java.math.BigInteger value)

withCollectienr

public Collectie withCollectienr(java.math.BigInteger value)

getNaam

public java.lang.String getNaam()
Naam


setNaam

public void setNaam(java.lang.String value)

withNaam

public Collectie withNaam(java.lang.String value)

clone

public java.lang.Object clone()
clone

Overrides:
clone in class java.lang.Object

cloneShallow

public Collectie cloneShallow()

shallowCopy

public static void shallowCopy(Collectie original,
                               Collectie copy)
shallow copy, used for cloning but also for e.g. updating an entity in a REST PUT


clearProperties

public void clearProperties()
clear properties


compareTo

public int compareTo(Collectie o)
default compare on primary key

Specified by:
compareTo in interface java.lang.Comparable<Collectie>

findByPK

public static Collectie findByPK(java.math.BigInteger collectienr)
Parameters:
collectienr -

findAndLockByPK

public static Collectie findAndLockByPK(java.math.BigInteger collectienr)
Parameters:
collectienr -

findByPK

public static Collectie findByPK(int id)

findByPK

public static Collectie findByPK(long id)

findAndLockByPK

public static Collectie findAndLockByPK(int id)

findAndLockByPK

public static Collectie findAndLockByPK(long id)

findAll

public static java.util.List<Collectie> findAll()
find all entities


findAllOrderedBy

public static java.util.List<Collectie> findAllOrderedBy(java.lang.String orderedBy)
find all entities ordered by


findByCollectienr

public static Collectie findByCollectienr(java.math.BigInteger collectienr)
Parameters:
collectienr -

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

rememberAtLoadTimeValues

public void rememberAtLoadTimeValues()
Overrides:
rememberAtLoadTimeValues in class nl.knowledgeplaza.util.jpa.AbstractBeanEclipselink<Collectie>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

translate

public static java.lang.String translate(java.lang.String id)
Using the Internationalization class


translate

public static java.lang.String translate(java.lang.String id,
                                         boolean nullable)


Copyright © 2010 KnowledgePlaza. All Rights Reserved.