Class Party2Abstract

java.lang.Object
org.nuiton.topia.persistence.internal.AbstractTopiaEntity
org.nuiton.topia.it.legacy.AbstractTopiaItLegacyEntity
org.nuiton.topia.it.legacy.topiatest.deletetest.Party2Abstract
All Implemented Interfaces:
Serializable, Party2, org.nuiton.topia.persistence.event.ListenableBean, org.nuiton.topia.persistence.event.ListenableTopiaEntity, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
Party2Impl

public abstract class Party2Abstract extends AbstractTopiaItLegacyEntity 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.internal.AbstractTopiaEntity

    DEFAULT_INSTANCE, deleted, firesSupport, postReadListeners, postWriteListeners, preReadListeners, preWriteListeners, topiaCreateDate, topiaId, topiaVersion

    Fields inherited from interface Party2

    PROPERTY_CONTACTS

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

    AGGREGATE, COMPOSITE, PROPERTY_TOPIA_CREATE_DATE, PROPERTY_TOPIA_ID, PROPERTY_TOPIA_VERSION, 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.TopiaEntityVisitor visitor)
     
    protected void
    accept0(org.nuiton.topia.persistence.TopiaEntityVisitor visitor)
     
    void
     
    void
     
    void
     
    boolean
     
     
     
     
    boolean
     
    boolean
     
    void
     
    void
     
    int
     

    Methods inherited from class org.nuiton.topia.persistence.internal.AbstractTopiaEntity

    addPostReadListener, addPostReadListener, addPostWriteListener, addPostWriteListener, addPreReadListener, addPreReadListener, addPreWriteListener, addPreWriteListener, addPropertyChangeListener, addPropertyChangeListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getFiresSupport, getFiresSupportOrNull, getPostReadListeners, getPostWriteListeners, getPreReadListeners, getPreWriteListeners, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, isDeleted, isPersisted, notifyDeleted, removePostReadListener, removePostReadListener, removePostWriteListener, removePostWriteListener, removePreReadListener, removePreReadListener, removePreWriteListener, removePreWriteListener, removePropertyChangeListener, removePropertyChangeListener, setFiresSupport, setTopiaCreateDate, setTopiaId, setTopiaVersion

    Methods inherited from class Object

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

    Methods inherited from interface org.nuiton.topia.persistence.event.ListenableBean

    addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener

    Methods inherited from interface org.nuiton.topia.persistence.event.ListenableTopiaEntity

    addPostReadListener, addPostReadListener, addPostWriteListener, addPostWriteListener, addPreReadListener, addPreReadListener, addPreWriteListener, addPreWriteListener, removePostReadListener, removePostReadListener, removePostWriteListener, removePostWriteListener, removePreReadListener, removePreReadListener, removePreWriteListener, removePreWriteListener

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

    getTopiaCreateDate, getTopiaId, getTopiaVersion, isDeleted, isPersisted, notifyDeleted, setTopiaCreateDate, setTopiaId, setTopiaVersion
  • Field Details

  • Constructor Details

    • Party2Abstract

      public Party2Abstract()
  • Method Details

    • accept

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

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

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

      public void addAllContacts(Iterable<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
    • getContactsTopiaIds

      public Collection<String> getContactsTopiaIds()
      Specified by:
      getContactsTopiaIds in interface Party2
    • sizeContacts

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

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

      public boolean isContactsNotEmpty()
      Specified by:
      isContactsNotEmpty in interface Party2
    • containsContacts

      public boolean containsContacts(Contact2 contacts)
      Specified by:
      containsContacts in interface Party2