Class Party2Abstract

java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topiatest.deletetest.Party2Abstract
All Implemented Interfaces:
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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Collection<Contact2>
    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
     
  • 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
     
    void
     
    void
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
     
     
    boolean
     
    void
     
    void
     
    int
     
     

    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

  • Constructor Details

    • Party2Abstract

      public Party2Abstract()
  • 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(Collection<Contact2> contacts)
      Specified by:
      addAllContacts in interface Party2
    • setContacts

      public void setContacts(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 Collection<Contact2> getContacts()
      Specified by:
      getContacts in interface Party2
    • getContactsByTopiaId

      public Contact2 getContactsByTopiaId(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 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 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 String toString()
      Overrides:
      toString in class Object