public class Net
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
clazz |
protected java.lang.String |
name |
protected java.util.List<Segment> |
segment |
Constructor and Description |
---|
Net() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClazz()
Gets the value of the clazz property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.util.List<Segment> |
getSegment()
Gets the value of the segment property.
|
void |
setClazz(java.lang.String value)
Sets the value of the clazz property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
protected java.lang.String name
protected java.lang.String clazz
protected java.util.List<Segment> segment
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is String
public java.lang.String getClazz()
String
public void setClazz(java.lang.String value)
value
- allowed object is String
public java.util.List<Segment> getSegment()
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 segment property.
For example, to add a new item, do as follows:
getSegment().add(newItem);
Objects of the following type(s) are allowed in the list Segment