nz.ac.waikato.adams.webservice.weka
Class Attribute

java.lang.Object
  extended by nz.ac.waikato.adams.webservice.weka.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://weka.webservice.adams.waikato.ac.nz/}labels" minOccurs="0"/>
         <element name="metadata" type="{http://weka.webservice.adams.waikato.ac.nz/}metadata" minOccurs="0"/>
         <element name="attributes" type="{http://weka.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://weka.webservice.adams.waikato.ac.nz/}type" />
       <attribute name="classAttribute" type="{http://weka.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>
 


Field Summary
protected  Attributes attributes
           
protected  YesNo classAttribute
           
protected  String format
           
protected  Labels labels
           
protected  Metadata metadata
           
protected  String name
           
protected  Type type
           
protected  Double weight
           
 
Constructor Summary
Attribute()
           
 
Method Summary
 Attributes getAttributes()
          Gets the value of the attributes property.
 YesNo getClassAttribute()
          Gets the value of the classAttribute property.
 String getFormat()
          Gets the value of the format property.
 Labels getLabels()
          Gets the value of the labels property.
 Metadata getMetadata()
          Gets the value of the metadata property.
 String getName()
          Gets the value of the name property.
 Type getType()
          Gets the value of the type property.
 double getWeight()
          Gets the value of the weight property.
 void setAttributes(Attributes value)
          Sets the value of the attributes property.
 void setClassAttribute(YesNo value)
          Sets the value of the classAttribute property.
 void setFormat(String value)
          Sets the value of the format property.
 void setLabels(Labels value)
          Sets the value of the labels property.
 void setMetadata(Metadata value)
          Sets the value of the metadata property.
 void setName(String value)
          Sets the value of the name property.
 void setType(Type value)
          Sets the value of the type property.
 void setWeight(Double value)
          Sets the value of the weight property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

labels

protected Labels labels

metadata

protected Metadata metadata

attributes

protected Attributes attributes

name

protected String name

type

protected Type type

classAttribute

protected YesNo classAttribute

format

protected String format

weight

protected Double weight
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


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.