Package org.dmg.pmml
Class Value
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Value
-
- All Implemented Interfaces:
Serializable,HasDisplayValue<Value>,HasExtensions<Value>,HasLocator,HasValue<Value>,Visitable
public class Value extends PMMLObject implements HasDisplayValue<Value>, HasExtensions<Value>, HasValue<Value>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValue.Property
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VisitorActionaccept(Visitor visitor)ValueaddExtensions(Extension... extensions)StringgetDisplayValue()List<Extension>getExtensions()Value.PropertygetProperty()ObjectgetValue()booleanhasExtensions()ObjectrequireValue()ValuesetDisplayValue(String displayValue)ValuesetProperty(Value.Property property)ValuesetValue(Object value)-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
Value
public Value()
-
Value
public Value(Object value)
-
-
Method Detail
-
requireValue
public Object requireValue()
- Specified by:
requireValuein interfaceHasValue<Value>
-
getDisplayValue
public String getDisplayValue()
- Specified by:
getDisplayValuein interfaceHasDisplayValue<Value>
-
setDisplayValue
public Value setDisplayValue(String displayValue)
- Specified by:
setDisplayValuein interfaceHasDisplayValue<Value>
-
getProperty
public Value.Property getProperty()
-
setProperty
public Value setProperty(Value.Property property)
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<Value>
-
getExtensions
public List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<Value>
-
addExtensions
public Value addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<Value>
-
accept
public VisitorAction accept(Visitor visitor)
-
-