com.gliffy.api.client.jaxb
Class Document

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

public class Document
extends java.lang.Object

A description of a document (not the document itself).

Java class for document complex type.

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

 <complexType name="document">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="mod-date" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="create-date" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="published-date" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="owner" type="{http://www.gliffy.com}user" minOccurs="0"/>
         <element name="versions" type="{http://www.gliffy.com}versions" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="num-versions" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="is-public" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="is-private" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  long createDate
           
protected  java.lang.Long id
           
protected  java.lang.Boolean isPrivate
           
protected  java.lang.Boolean isPublic
           
protected  long modDate
           
protected  java.lang.String name
           
protected  long numVersions
           
protected  User owner
           
protected  java.lang.Long publishedDate
           
protected  Versions versions
           
 
Constructor Summary
Document()
           
 
Method Summary
 long getCreateDate()
          Gets the value of the createDate property.
 java.lang.Long getId()
          Gets the value of the id property.
 long getModDate()
          Gets the value of the modDate property.
 java.lang.String getName()
          Gets the value of the name property.
 long getNumVersions()
          Gets the value of the numVersions property.
 User getOwner()
          Gets the value of the owner property.
 java.lang.Long getPublishedDate()
          Gets the value of the publishedDate property.
 Versions getVersions()
          Gets the value of the versions property.
 java.lang.Boolean isIsPrivate()
          Gets the value of the isPrivate property.
 java.lang.Boolean isIsPublic()
          Gets the value of the isPublic property.
 void setCreateDate(long value)
          Sets the value of the createDate property.
 void setId(java.lang.Long value)
          Sets the value of the id property.
 void setIsPrivate(java.lang.Boolean value)
          Sets the value of the isPrivate property.
 void setIsPublic(java.lang.Boolean value)
          Sets the value of the isPublic property.
 void setModDate(long value)
          Sets the value of the modDate property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNumVersions(long value)
          Sets the value of the numVersions property.
 void setOwner(User value)
          Sets the value of the owner property.
 void setPublishedDate(java.lang.Long value)
          Sets the value of the publishedDate property.
 void setVersions(Versions value)
          Sets the value of the versions 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

modDate

protected long modDate

createDate

protected long createDate

publishedDate

protected java.lang.Long publishedDate

owner

protected User owner

versions

protected Versions versions

id

protected java.lang.Long id

numVersions

protected long numVersions

isPublic

protected java.lang.Boolean isPublic

isPrivate

protected java.lang.Boolean isPrivate
Constructor Detail

Document

public Document()
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

getModDate

public long getModDate()
Gets the value of the modDate property.


setModDate

public void setModDate(long value)
Sets the value of the modDate property.


getCreateDate

public long getCreateDate()
Gets the value of the createDate property.


setCreateDate

public void setCreateDate(long value)
Sets the value of the createDate property.


getPublishedDate

public java.lang.Long getPublishedDate()
Gets the value of the publishedDate property.

Returns:
possible object is Long

setPublishedDate

public void setPublishedDate(java.lang.Long value)
Sets the value of the publishedDate property.

Parameters:
value - allowed object is Long

getOwner

public User getOwner()
Gets the value of the owner property.

Returns:
possible object is User

setOwner

public void setOwner(User value)
Sets the value of the owner property.

Parameters:
value - allowed object is User

getVersions

public Versions getVersions()
Gets the value of the versions property.

Returns:
possible object is Versions

setVersions

public void setVersions(Versions value)
Sets the value of the versions property.

Parameters:
value - allowed object is Versions

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

getNumVersions

public long getNumVersions()
Gets the value of the numVersions property.


setNumVersions

public void setNumVersions(long value)
Sets the value of the numVersions property.


isIsPublic

public java.lang.Boolean isIsPublic()
Gets the value of the isPublic property.

Returns:
possible object is Boolean

setIsPublic

public void setIsPublic(java.lang.Boolean value)
Sets the value of the isPublic property.

Parameters:
value - allowed object is Boolean

isIsPrivate

public java.lang.Boolean isIsPrivate()
Gets the value of the isPrivate property.

Returns:
possible object is Boolean

setIsPrivate

public void setIsPrivate(java.lang.Boolean value)
Sets the value of the isPrivate property.

Parameters:
value - allowed object is Boolean