Class IDocField

java.lang.Object
com.onenetwork.platform.integ.sap.IDocElement
com.onenetwork.platform.integ.sap.IDocField

public class IDocField
extends IDocElement
An individual field in an IDocSegment.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected IDocFieldDef iDocFieldDef  
    protected java.lang.String value  

    Fields inherited from class com.onenetwork.platform.integ.sap.IDocElement

    name
  • Constructor Summary

    Constructors 
    Constructor Description
    IDocField()
    Creates an IDocField that is not initialized with base values.
    IDocField​(java.lang.String name, java.lang.String value, IDocFieldDef iDocFieldDef)
    Creates an IDocField that is initialized with base values.
  • Method Summary

    Modifier and Type Method Description
    IDocFieldDef getIDocFieldDef()  
    java.lang.String getValue()  
    void setIDocFieldDef​(IDocFieldDef iDocFieldDef)
    Sets the IDocFieldDef which describes the structure of this IDocField
    void setValue​(java.lang.Object value)
    Set the content/value of the field
    void setValue​(java.lang.String value)
    Set the content/value of the field

    Methods inherited from class com.onenetwork.platform.integ.sap.IDocElement

    getName, setName

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • IDocField

      public IDocField()
      Creates an IDocField that is not initialized with base values.
    • IDocField

      public IDocField​(java.lang.String name, java.lang.String value, IDocFieldDef iDocFieldDef)
      Creates an IDocField that is initialized with base values.
      Parameters:
      name -
      value -
      iDocFieldDef -
  • Method Details

    • setIDocFieldDef

      public void setIDocFieldDef​(IDocFieldDef iDocFieldDef)
      Sets the IDocFieldDef which describes the structure of this IDocField
      Parameters:
      iDocFieldDef - IDocFieldDef which describes the structure of this IDocField
    • getIDocFieldDef

      public IDocFieldDef getIDocFieldDef()
      Returns:
      IDocFieldDef which describes the structure of this IDocField
    • getValue

      public java.lang.String getValue()
      Returns:
      the content/value of the field
    • setValue

      public void setValue​(java.lang.Object value)
      Set the content/value of the field
      Parameters:
      value - the value to set
    • setValue

      public void setValue​(java.lang.String value)
      Set the content/value of the field
      Parameters:
      value - the value to set