com.evdb.javaapi.data
Class Demand

java.lang.Object
  extended by com.evdb.javaapi.data.Demand

public class Demand
extends java.lang.Object

Demand Object.

Use the DemandOperations class to manipulate

Author:
tylerv
See Also:
DemandOperations

Constructor Summary
Demand()
           
 
Method Summary
 java.util.List<Comment> getComments()
          Return demand comments
 java.util.Date getCreated()
          Get the demand created date
 java.lang.String getCreator()
          Return the demand creator name
 java.lang.String getDescription()
          Return the demand description
 java.util.List<Event> getEvents()
          List of events created by this demand
 java.util.List<Image> getImages()
          Get the demadn images
 java.util.List<Link> getLinks()
          Return the demand links
 java.lang.String getLocation()
          Return the demand location
 int getMemberCount()
          Return the total number of demand members
 Performer getPerformer()
          Return the performer being demanded
 java.lang.String getSdid()
          Return the SDID
 java.lang.String getStatus()
          Return the demand status
 java.util.List<Tag> getTags()
          List the demand tags
 java.lang.String getWithdrawnNote()
          Note for why the demand was withdrawn
 boolean isWithdrawn()
          Return whether the demand is withdrawn
 void setComments(java.util.List<Comment> comments)
          Set demand comments.
 void setCreated(java.util.Date created)
          Set the demand created date
 void setCreator(java.lang.String creator)
          Set the demand creator name
 void setDescription(java.lang.String description)
          Set the demand description
 void setEvents(java.util.List<Event> events)
          Set the events
 void setImages(java.util.List<Image> images)
          Set the demand image list.
 void setLinks(java.util.List<Link> links)
          Set the links for a demand.
 void setLocation(java.lang.String location)
          Set the demand location
 void setMemberCount(int memberCount)
          Set the number of demand members
 void setPerformer(Performer performer)
          Set the performer being demanded.
 void setSdid(java.lang.String sdid)
          Set the SDID
 void setStatus(java.lang.String status)
          Set the demand status
 void setTags(java.util.List<Tag> tags)
          Set the demand tags.
 void setWithdrawn(boolean withdrawn)
          Set whether the demand is withdrawn
 void setWithdrawnNote(java.lang.String withdrawnNote)
          Set the withdrawn note
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Demand

public Demand()
Method Detail

getComments

public java.util.List<Comment> getComments()
Return demand comments

Returns:
the comments

setComments

public void setComments(java.util.List<Comment> comments)
Set demand comments. Use the DemandOperations class to manipulate

Parameters:
comments - the comments to set
See Also:
DemandOperations.addComment(String, Comment)

getCreated

public java.util.Date getCreated()
Get the demand created date

Returns:
the created

setCreated

public void setCreated(java.util.Date created)
Set the demand created date

Parameters:
created - the created to set

getCreator

public java.lang.String getCreator()
Return the demand creator name

Returns:
the creator

setCreator

public void setCreator(java.lang.String creator)
Set the demand creator name

Parameters:
creator - the creator to set

getDescription

public java.lang.String getDescription()
Return the demand description

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the demand description

Parameters:
description - the description to set

getEvents

public java.util.List<Event> getEvents()
List of events created by this demand

Returns:
the events

setEvents

public void setEvents(java.util.List<Event> events)
Set the events

Parameters:
events - the events to set

getImages

public java.util.List<Image> getImages()
Get the demadn images

Returns:
the images

setImages

public void setImages(java.util.List<Image> images)
Set the demand image list. Use the DemandOperations class to manipulate

Parameters:
images - the images to set
See Also:
DemandOperations.addImage(String, Image)

getLinks

public java.util.List<Link> getLinks()
Return the demand links

Returns:
the links

setLinks

public void setLinks(java.util.List<Link> links)
Set the links for a demand. Use the DemandOperations class to manipulate

Parameters:
links - the links to set
See Also:
DemandOperations.addLink(String, Link)

getLocation

public java.lang.String getLocation()
Return the demand location

Returns:
the location

setLocation

public void setLocation(java.lang.String location)
Set the demand location

Parameters:
location - the location to set

getMemberCount

public int getMemberCount()
Return the total number of demand members

Returns:
the memberCount

setMemberCount

public void setMemberCount(int memberCount)
Set the number of demand members

Parameters:
memberCount - the memberCount to set

getPerformer

public Performer getPerformer()
Return the performer being demanded

Returns:
the performer

setPerformer

public void setPerformer(Performer performer)
Set the performer being demanded. Once the demand has been created, this cannot be changed

Parameters:
performer - the performer to set

getSdid

public java.lang.String getSdid()
Return the SDID

Returns:
the sdid

setSdid

public void setSdid(java.lang.String sdid)
Set the SDID

Parameters:
sdid - the sdid to set

getStatus

public java.lang.String getStatus()
Return the demand status

Returns:
the status

setStatus

public void setStatus(java.lang.String status)
Set the demand status

Parameters:
status - the status to set

getTags

public java.util.List<Tag> getTags()
List the demand tags

Returns:
the tags

setTags

public void setTags(java.util.List<Tag> tags)
Set the demand tags. Use the DemandOperations class to manipulate

Parameters:
tags - the tags to set
See Also:
DemandOperations.addTags(String, List)

isWithdrawn

public boolean isWithdrawn()
Return whether the demand is withdrawn

Returns:
the withdrawn

setWithdrawn

public void setWithdrawn(boolean withdrawn)
Set whether the demand is withdrawn

Parameters:
withdrawn - the withdrawn to set

getWithdrawnNote

public java.lang.String getWithdrawnNote()
Note for why the demand was withdrawn

Returns:
the withdrawnNote

setWithdrawnNote

public void setWithdrawnNote(java.lang.String withdrawnNote)
Set the withdrawn note

Parameters:
withdrawnNote - the withdrawnNote to set


Copyright © 2007 Eventful Inc. All Rights Reserved.