public class Resource extends Object
Java class for Resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Resource">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="totalAmount">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<minInclusive value="0"/>
</restriction>
</simpleType>
</attribute>
<attribute name="costPerHour" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="timetableId" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
costPerHour |
protected String |
id |
protected String |
name |
protected String |
timetableId |
protected Integer |
totalAmount |
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getCostPerHour()
Gets the value of the costPerHour property.
|
String |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
String |
getTimetableId()
Gets the value of the timetableId property.
|
Integer |
getTotalAmount()
Gets the value of the totalAmount property.
|
void |
setCostPerHour(Double value)
Sets the value of the costPerHour property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setTimetableId(String value)
Sets the value of the timetableId property.
|
void |
setTotalAmount(Integer value)
Sets the value of the totalAmount property.
|
protected String id
protected String name
protected Integer totalAmount
protected Double costPerHour
protected String timetableId
public void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Integer getTotalAmount()
Integerpublic void setTotalAmount(Integer value)
value - allowed object is
Integerpublic Double getCostPerHour()
Doublepublic void setCostPerHour(Double value)
value - allowed object is
Doublepublic String getTimetableId()
StringCopyright © 2020 Pivotal Software, Inc.. All rights reserved.