public class NetworkType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for NetworkType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NetworkType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="netmask" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="bandwidth" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
bandwidth |
protected String |
netmask |
| Constructor and Description |
|---|
NetworkType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
Long |
getBandwidth()
Gets the value of the bandwidth property.
|
String |
getNetmask()
Gets the value of the netmask property.
|
boolean |
isSetBandwidth() |
boolean |
isSetNetmask() |
void |
setBandwidth(Long value)
Sets the value of the bandwidth property.
|
void |
setNetmask(String value)
Sets the value of the netmask property.
|
NetworkType |
withBandwidth(Long value) |
NetworkType |
withNetmask(String value) |
public String getNetmask()
Stringpublic void setNetmask(String value)
value - allowed object is
Stringpublic boolean isSetNetmask()
public Long getBandwidth()
Longpublic void setBandwidth(Long value)
value - allowed object is
Longpublic boolean isSetBandwidth()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic NetworkType withNetmask(String value)
public NetworkType withBandwidth(Long value)
Copyright © 2015. All rights reserved.