Package org.cxml
Class ItemSegment
- java.lang.Object
-
- org.cxml.ItemSegment
-
public class ItemSegment extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ContractItem>contractItemprotected java.lang.StringsegmentKey
-
Constructor Summary
Constructors Constructor Description ItemSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ContractItem>getContractItem()Gets the value of the contractItem property.java.lang.StringgetSegmentKey()Gets the value of the segmentKey property.voidsetSegmentKey(java.lang.String value)Sets the value of the segmentKey property.
-
-
-
Field Detail
-
segmentKey
protected java.lang.String segmentKey
-
contractItem
protected java.util.List<ContractItem> contractItem
-
-
Method Detail
-
getSegmentKey
public java.lang.String getSegmentKey()
Gets the value of the segmentKey property.- Returns:
- possible object is
String
-
setSegmentKey
public void setSegmentKey(java.lang.String value)
Sets the value of the segmentKey property.- Parameters:
value- allowed object isString
-
getContractItem
public java.util.List<ContractItem> getContractItem()
Gets the value of the contractItem property.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
setmethod for the contractItem property.For example, to add a new item, do as follows:
getContractItem().add(newItem);Objects of the following type(s) are allowed in the list
ContractItem
-
-