Class FilteredIPDocument

java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.assiteconfig.data.FilteredIPDocument
All Implemented Interfaces:
Serializable, Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, FilteredIP, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.util.sorter.IComparable

public class FilteredIPDocument extends net.anotheria.asg.data.AbstractASGDocument implements FilteredIP, net.anotheria.util.sorter.IComparable
See Also:
  • Field Summary

    Fields inherited from class net.anotheria.asg.data.AbstractASGDocument

    INT_PROPERTY_MULTILINGUAL_DISABLED

    Fields inherited from class net.anotheria.anodoc.data.Document

    PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER

    Fields inherited from interface net.anotheria.anosite.gen.assiteconfig.data.FilteredIP

    PROP_ALLOWANCE, PROP_ID, PROP_IP_ADDRESS, PROP_MASK

    Fields inherited from interface net.anotheria.asg.data.LockableObject

    INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compareTo(FilteredIP comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    boolean
     
    int
    Returns the value of the allowance attribute.
     
     
     
    Returns the value of the ipAddress attribute.
    int
    Returns the value of the mask attribute.
    void
    setAllowance(int value)
    Sets the value of the allowance attribute.
    void
    Sets the value of the ipAddress attribute.
    void
    setMask(int value)
    Sets the value of the mask attribute.
     

    Methods inherited from class net.anotheria.asg.data.AbstractASGDocument

    getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTime

    Methods inherited from class net.anotheria.anodoc.data.Document

    addDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNode

    Methods inherited from class net.anotheria.anodoc.data.DataHolder

    getId, hashCode, setId

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.anotheria.asg.data.DataObject

    clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
  • Constructor Details

    • FilteredIPDocument

      public FilteredIPDocument()
    • FilteredIPDocument

      public FilteredIPDocument(String id)
    • FilteredIPDocument

      public FilteredIPDocument(FilteredIPDocument toClone)
  • Method Details

    • getIpAddress

      public String getIpAddress()
      Description copied from interface: FilteredIP
      Returns the value of the ipAddress attribute.
      Specified by:
      getIpAddress in interface FilteredIP
    • setIpAddress

      public void setIpAddress(String value)
      Description copied from interface: FilteredIP
      Sets the value of the ipAddress attribute.
      Specified by:
      setIpAddress in interface FilteredIP
    • getMask

      public int getMask()
      Description copied from interface: FilteredIP
      Returns the value of the mask attribute.
      Specified by:
      getMask in interface FilteredIP
    • setMask

      public void setMask(int value)
      Description copied from interface: FilteredIP
      Sets the value of the mask attribute.
      Specified by:
      setMask in interface FilteredIP
    • getAllowance

      public int getAllowance()
      Description copied from interface: FilteredIP
      Returns the value of the allowance attribute.
      Specified by:
      getAllowance in interface FilteredIP
    • setAllowance

      public void setAllowance(int value)
      Description copied from interface: FilteredIP
      Sets the value of the allowance attribute.
      Specified by:
      setAllowance in interface FilteredIP
    • toString

      public String toString()
      Overrides:
      toString in class net.anotheria.anodoc.data.Document
    • compareTo

      public int compareTo(FilteredIP comparable)
    • compareTo

      public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
      Specified by:
      compareTo in interface net.anotheria.util.sorter.IComparable
    • getDefinedName

      public String getDefinedName()
      Specified by:
      getDefinedName in interface net.anotheria.asg.data.DataObject
    • getDefinedParentName

      public String getDefinedParentName()
      Specified by:
      getDefinedParentName in interface net.anotheria.asg.data.DataObject
    • getFootprint

      public String getFootprint()
      Specified by:
      getFootprint in interface net.anotheria.asg.data.DataObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object