Class ModelField

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    InputField, ResultField

    public abstract class ModelField
    extends java.lang.Object
    implements java.io.Serializable

    A common superclass for all model fields.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelField​(org.dmg.pmml.Field<?> field)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.dmg.pmml.DataType getDataType()  
      java.lang.String getDisplayName()  
      org.dmg.pmml.Field<?> getField()  
      java.lang.String getFieldName()
      The name of this model field in PMML space.
      java.lang.String getName()
      The name of this model field in user application space.
      org.dmg.pmml.OpType getOpType()  
      java.lang.String toString()  
      protected org.jpmml.model.ToStringHelper toStringHelper()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ModelField

        public ModelField​(org.dmg.pmml.Field<?> field)
    • Method Detail

      • getName

        public java.lang.String getName()

        The name of this model field in user application space.

        See Also:
        getFieldName()
      • getFieldName

        public java.lang.String getFieldName()

        The name of this model field in PMML space.

      • getDisplayName

        public java.lang.String getDisplayName()
      • getOpType

        public org.dmg.pmml.OpType getOpType()
      • getDataType

        public org.dmg.pmml.DataType getDataType()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringHelper

        protected org.jpmml.model.ToStringHelper toStringHelper()
      • getField

        public org.dmg.pmml.Field<?> getField()
        Returns:
        The backing Field element.