Package org.cxml

Class ItemSegment


  • public class ItemSegment
    extends java.lang.Object
    • 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.String getSegmentKey()
      Gets the value of the segmentKey property.
      void setSegmentKey​(java.lang.String value)
      Sets the value of the segmentKey property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • segmentKey

        protected java.lang.String segmentKey
      • contractItem

        protected java.util.List<ContractItem> contractItem
    • Constructor Detail

      • ItemSegment

        public ItemSegment()
    • 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 is String
      • 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 set method 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