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)  
    • Constructor Detail

      • ModelField

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

      • getName

        public java.lang.String getName()
      • 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.