Class Party2Abstract

java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topiatest.deletetest.Party2Abstract
All Implemented Interfaces:
java.io.Serializable, org.nuiton.topia.persistence.TopiaEntity, Party2
Direct Known Subclasses:
Party2Impl

public abstract class Party2Abstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Party2
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.Collection<Contact2> contacts
    Nom de l'attribut en BD : contacts

    Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract

    readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables

    Fields inherited from interface org.nuiton.topiatest.deletetest.Party2

    PROPERTY_CONTACTS

    Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity

    AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
  • Constructor Summary

    Constructors 
    Constructor Description
    Party2Abstract()  
  • Method Summary

    Modifier and Type Method Description
    void accept​(org.nuiton.topia.persistence.EntityVisitor visitor)  
    protected void accept0​(org.nuiton.topia.persistence.EntityVisitor visitor)  
    void addAllContacts​(java.util.Collection<Contact2> contacts)  
    void addContacts​(Contact2 contacts)  
    void clearContacts()  
    java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()  
    java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()  
    java.util.Collection<Contact2> getContacts()  
    Contact2 getContactsByTopiaId​(java.lang.String topiaId)  
    boolean isContactsEmpty()  
    void removeContacts​(Contact2 contacts)  
    void setContacts​(java.util.Collection<Contact2> contacts)  
    int sizeContacts()  
    java.lang.String toString()  

    Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract

    addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity

    addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
  • Field Details

    • contacts

      protected java.util.Collection<Contact2> contacts
      Nom de l'attribut en BD : contacts
  • Constructor Details

  • Method Details

    • accept

      public void accept​(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException
      Specified by:
      accept in interface org.nuiton.topia.persistence.TopiaEntity
      Throws:
      org.nuiton.topia.TopiaException
    • accept0

      protected void accept0​(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • addContacts

      public void addContacts​(Contact2 contacts)
      Specified by:
      addContacts in interface Party2
    • addAllContacts

      public void addAllContacts​(java.util.Collection<Contact2> contacts)
      Specified by:
      addAllContacts in interface Party2
    • setContacts

      public void setContacts​(java.util.Collection<Contact2> contacts)
      Specified by:
      setContacts in interface Party2
    • removeContacts

      public void removeContacts​(Contact2 contacts)
      Specified by:
      removeContacts in interface Party2
    • clearContacts

      public void clearContacts()
      Specified by:
      clearContacts in interface Party2
    • getContacts

      public java.util.Collection<Contact2> getContacts()
      Specified by:
      getContacts in interface Party2
    • getContactsByTopiaId

      public Contact2 getContactsByTopiaId​(java.lang.String topiaId)
      Specified by:
      getContactsByTopiaId in interface Party2
    • sizeContacts

      public int sizeContacts()
      Specified by:
      sizeContacts in interface Party2
    • isContactsEmpty

      public boolean isContactsEmpty()
      Specified by:
      isContactsEmpty in interface Party2
    • getAggregate

      public java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException
      Specified by:
      getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
      Throws:
      org.nuiton.topia.TopiaException
    • getComposite

      public java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite() throws org.nuiton.topia.TopiaException
      Specified by:
      getComposite in interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
      Throws:
      org.nuiton.topia.TopiaException
    • toString

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