Class Attribute


  • public class Attribute
    extends Object

    Java class for attribute complex type.

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

     <complexType name="attribute">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="labels" type="{http://meka.webservice.adams.waikato.ac.nz/}labels" minOccurs="0"/>
             <element name="metadata" type="{http://meka.webservice.adams.waikato.ac.nz/}metadata" minOccurs="0"/>
             <element name="attributes" type="{http://meka.webservice.adams.waikato.ac.nz/}attributes" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="type" use="required" type="{http://meka.webservice.adams.waikato.ac.nz/}type" />
           <attribute name="classAttribute" type="{http://meka.webservice.adams.waikato.ac.nz/}yesNo" default="no" />
           <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="weight" type="{http://www.w3.org/2001/XMLSchema}double" default="1.0" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Attribute

        public Attribute()
    • Method Detail

      • getLabels

        public Labels getLabels()
        Gets the value of the labels property.
        Returns:
        possible object is Labels
      • setLabels

        public void setLabels​(Labels value)
        Sets the value of the labels property.
        Parameters:
        value - allowed object is Labels
      • getMetadata

        public Metadata getMetadata()
        Gets the value of the metadata property.
        Returns:
        possible object is Metadata
      • setMetadata

        public void setMetadata​(Metadata value)
        Sets the value of the metadata property.
        Parameters:
        value - allowed object is Metadata
      • getAttributes

        public Attributes getAttributes()
        Gets the value of the attributes property.
        Returns:
        possible object is Attributes
      • setAttributes

        public void setAttributes​(Attributes value)
        Sets the value of the attributes property.
        Parameters:
        value - allowed object is Attributes
      • 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
      • getType

        public Type getType()
        Gets the value of the type property.
        Returns:
        possible object is Type
      • setType

        public void setType​(Type value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is Type
      • getClassAttribute

        public YesNo getClassAttribute()
        Gets the value of the classAttribute property.
        Returns:
        possible object is YesNo
      • setClassAttribute

        public void setClassAttribute​(YesNo value)
        Sets the value of the classAttribute property.
        Parameters:
        value - allowed object is YesNo
      • getFormat

        public String getFormat()
        Gets the value of the format property.
        Returns:
        possible object is String
      • setFormat

        public void setFormat​(String value)
        Sets the value of the format property.
        Parameters:
        value - allowed object is String
      • getWeight

        public double getWeight()
        Gets the value of the weight property.
        Returns:
        possible object is Double
      • setWeight

        public void setWeight​(Double value)
        Sets the value of the weight property.
        Parameters:
        value - allowed object is Double