public class ResourceAvailableNotification extends Notification implements org.jvnet.jaxb2_commons.lang.ToString
Java class for ResourceAvailableNotification complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResourceAvailableNotification">
<complexContent>
<extension base="{http://www.fispace.eu/domain/common}Notification">
<sequence>
<element name="resourceType" type="{http://www.fispace.eu/domain/common}ResourceType"/>
<element name="domain" type="{http://www.fispace.eu/domain/common}Domain"/>
<element name="resourceId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ownerId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="requestorId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="location" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Domain |
domain |
protected String |
location |
protected String |
ownerId |
protected List<String> |
requestorId |
protected String |
resourceId |
protected ResourceType |
resourceType |
timestamp| Constructor and Description |
|---|
ResourceAvailableNotification() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Domain |
getDomain()
Gets the value of the domain property.
|
String |
getLocation()
Gets the value of the location property.
|
String |
getOwnerId()
Gets the value of the ownerId property.
|
List<String> |
getRequestorId()
Gets the value of the requestorId property.
|
String |
getResourceId()
Gets the value of the resourceId property.
|
ResourceType |
getResourceType()
Gets the value of the resourceType property.
|
void |
setDomain(Domain value)
Sets the value of the domain property.
|
void |
setLocation(String value)
Sets the value of the location property.
|
void |
setOwnerId(String value)
Sets the value of the ownerId property.
|
void |
setResourceId(String value)
Sets the value of the resourceId property.
|
void |
setResourceType(ResourceType value)
Sets the value of the resourceType property.
|
String |
toString() |
ResourceAvailableNotification |
withDomain(Domain value) |
ResourceAvailableNotification |
withLocation(String value) |
ResourceAvailableNotification |
withOwnerId(String value) |
ResourceAvailableNotification |
withRequestorId(Collection<String> values) |
ResourceAvailableNotification |
withRequestorId(String... values) |
ResourceAvailableNotification |
withResourceId(String value) |
ResourceAvailableNotification |
withResourceType(ResourceType value) |
ResourceAvailableNotification |
withTimestamp(Calendar value) |
getTimestamp, setTimestampprotected ResourceType resourceType
protected Domain domain
protected String resourceId
protected String ownerId
protected String location
public ResourceType getResourceType()
ResourceTypepublic void setResourceType(ResourceType value)
value - allowed object is
ResourceTypepublic Domain getDomain()
Domainpublic void setDomain(Domain value)
value - allowed object is
Domainpublic String getResourceId()
Stringpublic void setResourceId(String value)
value - allowed object is
Stringpublic String getOwnerId()
Stringpublic void setOwnerId(String value)
value - allowed object is
Stringpublic List<String> getRequestorId()
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 requestorId property.
For example, to add a new item, do as follows:
getRequestorId().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getLocation()
Stringpublic void setLocation(String value)
value - allowed object is
Stringpublic String toString()
toString in class Notificationpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class Notificationpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class Notificationpublic ResourceAvailableNotification withResourceType(ResourceType value)
public ResourceAvailableNotification withDomain(Domain value)
public ResourceAvailableNotification withResourceId(String value)
public ResourceAvailableNotification withOwnerId(String value)
public ResourceAvailableNotification withRequestorId(String... values)
public ResourceAvailableNotification withRequestorId(Collection<String> values)
public ResourceAvailableNotification withLocation(String value)
public ResourceAvailableNotification withTimestamp(Calendar value)
withTimestamp in class NotificationCopyright © 2014. All Rights Reserved.