|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.weblab.core.model.Resource
public class Resource
A resource refers to any object that could be manipulated in the WebLab platform. It will be identified by a unique URI. \n It can hold some annotations that will describe the resource itself at a semantic level. It can also hold some low level descriptors that are describing itself at a lower level. It will be a common interface which will be inherited by almost all WebLab objects. Any reference to a resource will use its URI. Data Exchange Model for WebLab platform provided by CASSIDIAN Core package - Version 1.2 - 2010/08
Java class for Resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Resource"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="annotation" type="{http://weblab.ow2.org/core/1.2/model#}Annotation" maxOccurs="unbounded" minOccurs="0"/> <element name="descriptor" type="{http://weblab.ow2.org/core/1.2/model#}LowLevelDescriptor" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.util.List<Annotation> |
annotation
|
protected java.util.List<LowLevelDescriptor> |
descriptor
|
protected java.lang.String |
uri
|
Constructor Summary | |
---|---|
Resource()
|
Method Summary | |
---|---|
java.util.List<Annotation> |
getAnnotation()
Gets the value of the annotation property. |
java.util.List<LowLevelDescriptor> |
getDescriptor()
Gets the value of the descriptor property. |
java.lang.String |
getUri()
Gets the value of the uri property. |
boolean |
isSetAnnotation()
|
boolean |
isSetDescriptor()
|
void |
setUri(java.lang.String value)
Sets the value of the uri property. |
void |
unsetAnnotation()
|
void |
unsetDescriptor()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<Annotation> annotation
protected java.util.List<LowLevelDescriptor> descriptor
protected java.lang.String uri
Constructor Detail |
---|
public Resource()
Method Detail |
---|
public java.util.List<Annotation> getAnnotation()
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 annotation property.
For example, to add a new item, do as follows:
getAnnotation().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public boolean isSetAnnotation()
public void unsetAnnotation()
public java.util.List<LowLevelDescriptor> getDescriptor()
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 descriptor property.
For example, to add a new item, do as follows:
getDescriptor().add(newItem);
Objects of the following type(s) are allowed in the list
LowLevelDescriptor
public boolean isSetDescriptor()
public void unsetDescriptor()
public java.lang.String getUri()
String
public void setUri(java.lang.String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |