Class Contact2Abstract

java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topiatest.deletetest.Contact2Abstract
All Implemented Interfaces:
java.io.Serializable, org.nuiton.topia.persistence.TopiaEntity, Contact2
Direct Known Subclasses:
Contact2Impl

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

    Fields 
    Modifier and Type Field Description
    protected java.lang.String contactValue
    Nom de l'attribut en BD : contactValue
    protected java.util.Collection<Party2> party2
    Nom de l'attribut en BD : party2
    protected java.lang.String type
    Nom de l'attribut en BD : type

    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.Contact2

    PROPERTY_CONTACT_VALUE, PROPERTY_PARTY2, PROPERTY_TYPE

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

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

    Constructors 
    Constructor Description
    Contact2Abstract()  
  • 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 addAllParty2​(java.util.Collection<Party2> party2)  
    void addParty2​(Party2 party2)  
    void clearParty2()  
    java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()  
    java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()  
    java.lang.String getContactValue()  
    java.util.Collection<Party2> getParty2()  
    Party2 getParty2ByTopiaId​(java.lang.String topiaId)  
    java.lang.String getType()  
    boolean isParty2Empty()  
    void removeParty2​(Party2 party2)  
    void setContactValue​(java.lang.String contactValue)  
    void setParty2​(java.util.Collection<Party2> party2)  
    void setType​(java.lang.String type)  
    int sizeParty2()  
    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

    • contactValue

      protected java.lang.String contactValue
      Nom de l'attribut en BD : contactValue
    • type

      protected java.lang.String type
      Nom de l'attribut en BD : type
    • party2

      protected java.util.Collection<Party2> party2
      Nom de l'attribut en BD : party2
  • 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
    • setContactValue

      public void setContactValue​(java.lang.String contactValue)
      Specified by:
      setContactValue in interface Contact2
    • getContactValue

      public java.lang.String getContactValue()
      Specified by:
      getContactValue in interface Contact2
    • setType

      public void setType​(java.lang.String type)
      Specified by:
      setType in interface Contact2
    • getType

      public java.lang.String getType()
      Specified by:
      getType in interface Contact2
    • addParty2

      public void addParty2​(Party2 party2)
      Specified by:
      addParty2 in interface Contact2
    • addAllParty2

      public void addAllParty2​(java.util.Collection<Party2> party2)
      Specified by:
      addAllParty2 in interface Contact2
    • setParty2

      public void setParty2​(java.util.Collection<Party2> party2)
      Specified by:
      setParty2 in interface Contact2
    • removeParty2

      public void removeParty2​(Party2 party2)
      Specified by:
      removeParty2 in interface Contact2
    • clearParty2

      public void clearParty2()
      Specified by:
      clearParty2 in interface Contact2
    • getParty2

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

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

      public int sizeParty2()
      Specified by:
      sizeParty2 in interface Contact2
    • isParty2Empty

      public boolean isParty2Empty()
      Specified by:
      isParty2Empty in interface Contact2
    • 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