org.weblab_project.core.model
Class Feature

java.lang.Object
  extended by org.weblab_project.core.model.Feature
All Implemented Interfaces:
java.io.Serializable

public class Feature
extends java.lang.Object
implements java.io.Serializable

A low level feature vector, for instance a TFIDF vector, a color histogram vector etc. Data Exchange Model for WebLab platform provided by EADS Core package - Version 1.1 - 2009/05

Java class for feature complex type.

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

 <complexType name="feature">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="value">
           <simpleType>
             <list itemType="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           </simpleType>
         </element>
       </sequence>
       <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String label
           
protected  java.util.List<java.lang.String> value
           
 
Constructor Summary
Feature()
           
 
Method Summary
 java.lang.String getLabel()
          Gets the value of the label property.
 java.util.List<java.lang.String> getValue()
          Gets the value of the value property.
 void setLabel(java.lang.String value)
          Sets the value of the label property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.util.List<java.lang.String> value

label

protected java.lang.String label
Constructor Detail

Feature

public Feature()
Method Detail

getValue

public java.util.List<java.lang.String> getValue()
Gets the value of the value property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the value property.

For example, to add a new item, do as follows:

    getValue().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getLabel

public java.lang.String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(java.lang.String value)
Sets the value of the label property.

Parameters:
value - allowed object is String


Copyright © 2004-2010. All Rights Reserved.