Class UsageCollectorType

java.lang.Object
com.vidispine.generated.UsageCollectorType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

public class UsageCollectorType extends Object implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

Java class for UsageCollectorType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="UsageCollectorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="interval" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="lastSent" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="error" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • name

      protected String name
    • interval

      protected int interval
    • enabled

      protected boolean enabled
    • lastSent

      protected XMLGregorianCalendar lastSent
    • error

      protected String error
  • Constructor Details

    • UsageCollectorType

      public UsageCollectorType()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isSetName

      public boolean isSetName()
    • getInterval

      public int getInterval()
      Gets the value of the interval property.
    • setInterval

      public void setInterval(int value)
      Sets the value of the interval property.
    • isSetInterval

      public boolean isSetInterval()
    • isEnabled

      public boolean isEnabled()
      Gets the value of the enabled property.
    • setEnabled

      public void setEnabled(boolean value)
      Sets the value of the enabled property.
    • isSetEnabled

      public boolean isSetEnabled()
    • getLastSent

      public XMLGregorianCalendar getLastSent()
      Gets the value of the lastSent property.
      Returns:
      possible object is XMLGregorianCalendar
    • setLastSent

      public void setLastSent(XMLGregorianCalendar value)
      Sets the value of the lastSent property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetLastSent

      public boolean isSetLastSent()
    • getError

      public String getError()
      Gets the value of the error property.
      Returns:
      possible object is String
    • setError

      public void setError(String value)
      Sets the value of the error property.
      Parameters:
      value - allowed object is String
    • isSetError

      public boolean isSetError()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withName

      public UsageCollectorType withName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withInterval

      public UsageCollectorType withInterval(int value)
      Sets the value of the interval property.
      Parameters:
      value - allowed object is int
      Returns:
      The class instance
    • withEnabled

      public UsageCollectorType withEnabled(boolean value)
      Sets the value of the enabled property.
      Parameters:
      value - allowed object is boolean
      Returns:
      The class instance
    • withLastSent

      public UsageCollectorType withLastSent(XMLGregorianCalendar value)
      Sets the value of the lastSent property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withError

      public UsageCollectorType withError(String value)
      Sets the value of the error property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • equals

      public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)
      Specified by:
      equals in interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public UsageCollectorType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString