org.weblab_project.core.model
Class LowLevelDescriptor

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

public class LowLevelDescriptor
extends Resource
implements java.io.Serializable

A low level descriptor is composed of a set features that have been extracted from a document or a part of document. It aims at representing low level annotation (not at a semantic level but at a numerical level) mainly for computing similarity between objects For instance, Text could use lowLevelDescriuptor to store TFIDF values, Image could use lowLevelDescriuptor to handle color histograms. A low level descriptor may be composed of a set of features for instance, an image may contains edge feature Vector as well as red color histogram vector As a resource, a low level descriptor could be annotated to provide, for example, meta information on its creation date, its version or its application domain. Data Exchange Model for WebLab platform provided by EADS Core package - Version 1.1 - 2009/05

Java class for lowLevelDescriptor complex type.

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

 <complexType name="lowLevelDescriptor">
   <complexContent>
     <extension base="{http://weblab-project.org/core/model/}resource">
       <sequence>
         <element name="feature" type="{http://weblab-project.org/core/model/}feature" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<Feature> feature
           
protected  java.lang.String key
           
 
Fields inherited from class org.weblab_project.core.model.Resource
annotation, descriptor, uri
 
Constructor Summary
LowLevelDescriptor()
           
 
Method Summary
 java.util.List<Feature> getFeature()
          Gets the value of the feature property.
 java.lang.String getKey()
          Gets the value of the key property.
 void setKey(java.lang.String value)
          Sets the value of the key property.
 
Methods inherited from class org.weblab_project.core.model.Resource
getAnnotation, getDescriptor, getUri, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

feature

protected java.util.List<Feature> feature

key

protected java.lang.String key
Constructor Detail

LowLevelDescriptor

public LowLevelDescriptor()
Method Detail

getFeature

public java.util.List<Feature> getFeature()
Gets the value of the feature 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 feature property.

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

    getFeature().add(newItem);
 

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


getKey

public java.lang.String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

public void setKey(java.lang.String value)
Sets the value of the key property.

Parameters:
value - allowed object is String


Copyright © 2004-2010. All Rights Reserved.