Class Attribute
- java.lang.Object
-
- nz.ac.waikato.adams.webservice.meka.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 Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 isLabels
-
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 isMetadata
-
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 isAttributes
-
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 isString
-
setType
public void setType(Type value)
Sets the value of the type property.- Parameters:
value
- allowed object isType
-
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 isYesNo
-
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 isString
-
getWeight
public double getWeight()
Gets the value of the weight property.- Returns:
- possible object is
Double
-
-