@Generated(value="config_generator.py") public class MultipleTablesNodePropertyConfig extends AbstractNodePropertyConfig
Modifier and Type | Class and Description |
---|---|
static class |
MultipleTablesNodePropertyConfig.Field
Fields of Node property Config
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
the name of the node property
|
java.lang.String |
getTable()
the name of the table name
|
PropertyType |
getType()
type of property of node
|
java.util.Map<MultipleTablesNodePropertyConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<MultipleTablesNodePropertyConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
boolean |
hasDefaultValue(MultipleTablesNodePropertyConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
static MultipleTablesNodePropertyConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static MultipleTablesNodePropertyConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static MultipleTablesNodePropertyConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
setSerializable
public java.lang.String getName()
getName
in class AbstractNodePropertyConfig
public java.lang.String getTable()
public PropertyType getType()
getType
in class AbstractNodePropertyConfig
public java.util.Map<MultipleTablesNodePropertyConfig.Field,java.lang.Object> getValues()
public java.util.Map<MultipleTablesNodePropertyConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public boolean hasDefaultValue(MultipleTablesNodePropertyConfig.Field field)
field
- the fieldpublic boolean isEmpty()
public static MultipleTablesNodePropertyConfig parse(java.io.InputStream is, boolean strict, java.lang.String parentPath) throws java.io.IOException
is
- the input streamstrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathjava.io.IOException
- Signals that an I/O exception has occurred.public static MultipleTablesNodePropertyConfig parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
raw
- the raw key/value mapping to parsestrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathpublic static MultipleTablesNodePropertyConfig parse(java.util.Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.