org.hackystat.sensorbase.resource.projects.jaxb
Class Project

java.lang.Object
  extended by org.hackystat.sensorbase.resource.projects.jaxb.Project
All Implemented Interfaces:
java.io.Serializable

public class Project
extends java.lang.Object
implements java.io.Serializable

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}Description"/>
         <element ref="{}StartTime" minOccurs="0"/>
         <element ref="{}EndTime" minOccurs="0"/>
         <element ref="{}Owner" minOccurs="0"/>
         <element ref="{}Members"/>
         <element ref="{}Invitations" minOccurs="0"/>
         <element ref="{}Spectators" minOccurs="0"/>
         <element ref="{}UriPatterns"/>
         <element ref="{}Properties"/>
       </sequence>
       <attribute ref="{}Name"/>
       <attribute ref="{}LastMod"/>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String description
           
protected  javax.xml.datatype.XMLGregorianCalendar endTime
           
protected  Invitations invitations
           
protected  javax.xml.datatype.XMLGregorianCalendar lastMod
           
protected  Members members
           
protected  java.lang.String name
           
protected  java.lang.String owner
           
protected  Properties properties
           
protected  Spectators spectators
           
protected  javax.xml.datatype.XMLGregorianCalendar startTime
           
protected  UriPatterns uriPatterns
           
 
Constructor Summary
Project()
           
 
Method Summary
 void addInvitation(java.lang.String email)
          Adds the specified email to this list of invited users to this project.
 void addProperty(java.lang.String key, java.lang.String value)
          Adds a new property to this instance with the specified key and value.
 void addUriPattern(java.lang.String pattern)
          Adds the specified UriPattern to the UriPatterns instance, creating it if necesssary.
 Property findProperty(java.lang.String key)
          Returns the first Property instance with the specified key, or null if not found.
 java.lang.String getDescription()
          Gets the value of the description property.
 javax.xml.datatype.XMLGregorianCalendar getEndTime()
          Gets the value of the endTime property.
 Invitations getInvitations()
          Gets the value of the invitations property.
 javax.xml.datatype.XMLGregorianCalendar getLastMod()
          Gets the value of the lastMod property.
 Members getMembers()
          Gets the value of the members property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getOwner()
          Gets the value of the owner property.
 Properties getProperties()
          Gets the value of the properties property.
 Spectators getSpectators()
          Gets the value of the spectators property.
 javax.xml.datatype.XMLGregorianCalendar getStartTime()
          Gets the value of the startTime property.
 UriPatterns getUriPatterns()
          Gets the value of the uriPatterns property.
 boolean isMemberOrOwner(java.lang.String email)
          Returns true if the passed email is the owner or one of the members of this project.
 boolean isSetDescription()
           
 boolean isSetEndTime()
           
 boolean isSetInvitations()
           
 boolean isSetLastMod()
           
 boolean isSetMembers()
           
 boolean isSetName()
           
 boolean isSetOwner()
           
 boolean isSetProperties()
           
 boolean isSetSpectators()
           
 boolean isSetStartTime()
           
 boolean isSetUriPatterns()
           
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setEndTime(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the endTime property.
 void setInvitations(Invitations value)
          Sets the value of the invitations property.
 void setLastMod(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the lastMod property.
 void setMembers(Members value)
          Sets the value of the members property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setOwner(java.lang.String value)
          Sets the value of the owner property.
 void setProperties(Properties value)
          Sets the value of the properties property.
 void setSpectators(Spectators value)
          Sets the value of the spectators property.
 void setStartTime(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the startTime property.
 void setUriPatterns(UriPatterns value)
          Sets the value of the uriPatterns property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.lang.String description

startTime

protected javax.xml.datatype.XMLGregorianCalendar startTime

endTime

protected javax.xml.datatype.XMLGregorianCalendar endTime

owner

protected java.lang.String owner

members

protected Members members

invitations

protected Invitations invitations

spectators

protected Spectators spectators

uriPatterns

protected UriPatterns uriPatterns

properties

protected Properties properties

name

protected java.lang.String name

lastMod

protected javax.xml.datatype.XMLGregorianCalendar lastMod
Constructor Detail

Project

public Project()
Method Detail

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

isSetDescription

public boolean isSetDescription()

getStartTime

public javax.xml.datatype.XMLGregorianCalendar getStartTime()
Gets the value of the startTime property.

Returns:
possible object is XMLGregorianCalendar

setStartTime

public void setStartTime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the startTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetStartTime

public boolean isSetStartTime()

getEndTime

public javax.xml.datatype.XMLGregorianCalendar getEndTime()
Gets the value of the endTime property.

Returns:
possible object is XMLGregorianCalendar

setEndTime

public void setEndTime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the endTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetEndTime

public boolean isSetEndTime()

getOwner

public java.lang.String getOwner()
Gets the value of the owner property.

Returns:
possible object is String

setOwner

public void setOwner(java.lang.String value)
Sets the value of the owner property.

Parameters:
value - allowed object is String

isSetOwner

public boolean isSetOwner()

getMembers

public Members getMembers()
Gets the value of the members property.

Returns:
possible object is Members

setMembers

public void setMembers(Members value)
Sets the value of the members property.

Parameters:
value - allowed object is Members

isSetMembers

public boolean isSetMembers()

getInvitations

public Invitations getInvitations()
Gets the value of the invitations property.

Returns:
possible object is Invitations

setInvitations

public void setInvitations(Invitations value)
Sets the value of the invitations property.

Parameters:
value - allowed object is Invitations

isSetInvitations

public boolean isSetInvitations()

getSpectators

public Spectators getSpectators()
Gets the value of the spectators property.

Returns:
possible object is Spectators

setSpectators

public void setSpectators(Spectators value)
Sets the value of the spectators property.

Parameters:
value - allowed object is Spectators

isSetSpectators

public boolean isSetSpectators()

getUriPatterns

public UriPatterns getUriPatterns()
Gets the value of the uriPatterns property.

Returns:
possible object is UriPatterns

setUriPatterns

public void setUriPatterns(UriPatterns value)
Sets the value of the uriPatterns property.

Parameters:
value - allowed object is UriPatterns

isSetUriPatterns

public boolean isSetUriPatterns()

getProperties

public Properties getProperties()
Gets the value of the properties property.

Returns:
possible object is Properties

setProperties

public void setProperties(Properties value)
Sets the value of the properties property.

Parameters:
value - allowed object is Properties

isSetProperties

public boolean isSetProperties()

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

isSetName

public boolean isSetName()

getLastMod

public javax.xml.datatype.XMLGregorianCalendar getLastMod()
Gets the value of the lastMod property.

Returns:
possible object is XMLGregorianCalendar

setLastMod

public void setLastMod(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastMod property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetLastMod

public boolean isSetLastMod()

findProperty

public Property findProperty(java.lang.String key)
Returns the first Property instance with the specified key, or null if not found.

Parameters:
key - The key for the property of interest.
Returns:
The Property instance for the key, or null if not found.

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)
Adds a new property to this instance with the specified key and value.

Parameters:
key - The key for the new property.
value - The value for the new property.

isMemberOrOwner

public boolean isMemberOrOwner(java.lang.String email)
Returns true if the passed email is the owner or one of the members of this project.

Parameters:
email - The email of interest.
Returns:
True if the email matches the owner or a member of this project.

addUriPattern

public void addUriPattern(java.lang.String pattern)
Adds the specified UriPattern to the UriPatterns instance, creating it if necesssary.

Parameters:
pattern - The pattern to be added.

addInvitation

public void addInvitation(java.lang.String email)
Adds the specified email to this list of invited users to this project.

Parameters:
email - The email to be added to the list of invited users.