public abstract class WSSecurityOption extends Object implements Serializable
Java class for WSSecurityOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WSSecurityOption"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="parts" type="{}WSSecurityPartList" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="type" use="required" type="{}WSSecurityOptionType" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static WSSecurityOption |
EMPTY_INSTANCE |
protected int |
id |
protected WSSecurityPartList |
parts |
protected WSSecurityOptionType |
type |
Constructor and Description |
---|
WSSecurityOption() |
Modifier and Type | Method and Description |
---|---|
WSSecurityOption |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
abstract WSSecurityOption |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected WSSecurityOption |
copy(WSSecurityOption nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
int |
getId()
Gets the value of the id property.
|
WSSecurityPartList |
getParts()
Gets the value of the parts property.
|
WSSecurityOptionType |
getType()
Gets the value of the type property.
|
int |
hashCode() |
WSSecurityPartList |
safeGetParts()
Returns the current parts property value if non-
null , otherwise WSSecurityPartList.EMPTY_INSTANCE . |
void |
setId(int value)
Sets the value of the id property.
|
void |
setParts(WSSecurityPartList value)
Sets the value of the parts property.
|
void |
setType(WSSecurityOptionType value)
Sets the value of the type property.
|
String |
toString() |
WSSecurityOption |
withId(int newValue)
Sets the id property to the given newValue and returns this instance.
|
WSSecurityOption |
withParts(WSSecurityPartList newValue)
Sets the parts property to the given newValue and returns this instance.
|
WSSecurityOption |
withType(WSSecurityOptionType newValue)
Sets the type property to the given newValue and returns this instance.
|
protected WSSecurityPartList parts
protected int id
protected WSSecurityOptionType type
public static final WSSecurityOption EMPTY_INSTANCE
public WSSecurityPartList getParts()
WSSecurityPartList
public void setParts(WSSecurityPartList value)
value
- allowed object is
WSSecurityPartList
public int getId()
public void setId(int value)
public WSSecurityOptionType getType()
WSSecurityOptionType
public void setType(WSSecurityOptionType value)
value
- allowed object is
WSSecurityOptionType
public WSSecurityOption copy()
public abstract WSSecurityOption copy(boolean isDeep)
protected WSSecurityOption copy(WSSecurityOption nobj, boolean isDeep)
public WSSecurityOption withParts(WSSecurityPartList newValue)
public WSSecurityPartList safeGetParts()
null
, otherwise WSSecurityPartList.EMPTY_INSTANCE
.public WSSecurityOption withId(int newValue)
public WSSecurityOption withType(WSSecurityOptionType newValue)