public class Weight extends BaseResource
Java class for Weight complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Weight"> <complexContent> <extension base="{}BaseResource"> <sequence> <element ref="{}scheduling_policy" minOccurs="0"/> <element ref="{}scheduling_policy_unit" minOccurs="0"/> <element name="factor" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
Weight() |
Modifier and Type | Method and Description |
---|---|
Integer |
getFactor()
Gets the value of the factor property.
|
SchedulingPolicy |
getSchedulingPolicy()
Gets the value of the schedulingPolicy property.
|
SchedulingPolicyUnit |
getSchedulingPolicyUnit()
Gets the value of the schedulingPolicyUnit property.
|
boolean |
isSetFactor() |
boolean |
isSetSchedulingPolicy() |
boolean |
isSetSchedulingPolicyUnit() |
void |
setFactor(Integer value)
Sets the value of the factor property.
|
void |
setSchedulingPolicy(SchedulingPolicy value)
Sets the value of the schedulingPolicy property.
|
void |
setSchedulingPolicyUnit(SchedulingPolicyUnit value)
Sets the value of the schedulingPolicyUnit property.
|
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public SchedulingPolicy getSchedulingPolicy()
SchedulingPolicy
public void setSchedulingPolicy(SchedulingPolicy value)
value
- allowed object is
SchedulingPolicy
public boolean isSetSchedulingPolicy()
public SchedulingPolicyUnit getSchedulingPolicyUnit()
SchedulingPolicyUnit
public void setSchedulingPolicyUnit(SchedulingPolicyUnit value)
value
- allowed object is
SchedulingPolicyUnit
public boolean isSetSchedulingPolicyUnit()
public Integer getFactor()
Integer
public void setFactor(Integer value)
value
- allowed object is
Integer
public boolean isSetFactor()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0