fr.opensagres.xdocreport.remoting.resources.domain
Class Resource

java.lang.Object
  extended by fr.opensagres.xdocreport.remoting.resources.domain.Resource

public class Resource
extends Object

Classe Java pour resource complex type.

Le fragment de sch�ma suivant indique le contenu attendu figurant dans cette classe.

 <complexType name="resource">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="children" type="{http://domain.resources.remoting.xdocreport.opensagres.fr/}resource" maxOccurs="unbounded" minOccurs="0"/>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="type" type="{http://domain.resources.remoting.xdocreport.opensagres.fr/}resourceType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
static String CHILDREN_PROPERTY
           
protected  String id
           
static String ID_NOT_NULL_PROPERTY
           
static String ID_PROPERTY
           
protected  String name
           
static String NAME_PROPERTY
           
protected  Resource parent
           
protected  String path
           
static String PATH_PROPERTY
           
protected  ResourceType type
           
static String TYPE_PROPERTY
           
 
Constructor Summary
Resource()
           
 
Method Summary
 List<Resource> getChildren()
          Gets the value of the children property.
 String getId()
          Obtient la valeur de la propri�t� id.
 String getIdNotNull()
           
 String getName()
          Obtient la valeur de la propri�t� name.
 Resource getParent()
          Returns the parent resource.
 String getPath()
           
 ResourceType getType()
          Obtient la valeur de la propri�t� type.
 void setId(String value)
          D�finit la valeur de la propri�t� id.
 void setName(String value)
          D�finit la valeur de la propri�t� name.
 void setType(ResourceType value)
          D�finit la valeur de la propri�t� type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHILDREN_PROPERTY

public static final String CHILDREN_PROPERTY
See Also:
Constant Field Values

ID_PROPERTY

public static final String ID_PROPERTY
See Also:
Constant Field Values

NAME_PROPERTY

public static final String NAME_PROPERTY
See Also:
Constant Field Values

TYPE_PROPERTY

public static final String TYPE_PROPERTY
See Also:
Constant Field Values

ID_NOT_NULL_PROPERTY

public static final String ID_NOT_NULL_PROPERTY
See Also:
Constant Field Values

PATH_PROPERTY

public static final String PATH_PROPERTY
See Also:
Constant Field Values

id

protected String id

name

protected String name

type

protected ResourceType type

parent

protected Resource parent

path

protected String path
Constructor Detail

Resource

public Resource()
Method Detail

getChildren

public List<Resource> getChildren()
Gets the value of the children 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 children property.

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

 getChildren().add( newItem );
 

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


getIdNotNull

public String getIdNotNull()

getPath

public String getPath()

getId

public String getId()
Obtient la valeur de la propri�t� id.

Returns:
possible object is String

setId

public void setId(String value)
D�finit la valeur de la propri�t� id.

Parameters:
value - allowed object is String

getName

public String getName()
Obtient la valeur de la propri�t� name.

Returns:
possible object is String

setName

public void setName(String value)
D�finit la valeur de la propri�t� name.

Parameters:
value - allowed object is String

getType

public ResourceType getType()
Obtient la valeur de la propri�t� type.

Returns:
possible object is ResourceType

setType

public void setType(ResourceType value)
D�finit la valeur de la propri�t� type.

Parameters:
value - allowed object is ResourceType

getParent

public Resource getParent()
Returns the parent resource.

Returns:


Copyright © 2013. All rights reserved.