com.gliffy.api.client.jaxb
Class Folder

java.lang.Object
  extended by com.gliffy.api.client.jaxb.Folder

public class Folder
extends java.lang.Object

A folder in an account.

Java class for folder complex type.

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

 <complexType name="folder">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="folder" type="{http://www.gliffy.com}folder" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="is-default" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<Folder> folder
           
protected  java.lang.Long id
           
protected  java.lang.Boolean isDefault
           
protected  java.lang.String name
           
protected  java.lang.String path
           
 
Constructor Summary
Folder()
           
 
Method Summary
 java.util.List<Folder> getFolder()
          Gets the value of the folder property.
 java.lang.Long getId()
          Gets the value of the id property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPath()
          Gets the value of the path property.
 java.lang.Boolean isIsDefault()
          Gets the value of the isDefault property.
 void setId(java.lang.Long value)
          Sets the value of the id property.
 void setIsDefault(java.lang.Boolean value)
          Sets the value of the isDefault property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPath(java.lang.String value)
          Sets the value of the path property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

path

protected java.lang.String path

folder

protected java.util.List<Folder> folder

isDefault

protected java.lang.Boolean isDefault

id

protected java.lang.Long id
Constructor Detail

Folder

public Folder()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getPath

public java.lang.String getPath()
Gets the value of the path property.

Returns:
possible object is String

setPath

public void setPath(java.lang.String value)
Sets the value of the path property.

Parameters:
value - allowed object is String

getFolder

public java.util.List<Folder> getFolder()
Gets the value of the folder 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 folder property.

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

    getFolder().add(newItem);
 

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


isIsDefault

public java.lang.Boolean isIsDefault()
Gets the value of the isDefault property.

Returns:
possible object is Boolean

setIsDefault

public void setIsDefault(java.lang.Boolean value)
Sets the value of the isDefault property.

Parameters:
value - allowed object is Boolean

getId

public java.lang.Long getId()
Gets the value of the id property.

Returns:
possible object is Long

setId

public void setId(java.lang.Long value)
Sets the value of the id property.

Parameters:
value - allowed object is Long