Class ColumnSchema<E extends TableSchema<E>,D>
- java.lang.Object
-
- org.opendaylight.ovsdb.lib.schema.ColumnSchema<E,D>
-
public class ColumnSchema<E extends TableSchema<E>,D> extends Object
-
-
Constructor Summary
Constructors Constructor Description ColumnSchema(String name, ColumnType columnType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static <E extends TableSchema<E>,D>
ColumnSchema<E,D>fromJson(String name, com.fasterxml.jackson.databind.JsonNode json)
String
getName()
Object
getNormalizeData(D value)
ColumnType
getType()
int
hashCode()
Condition
opEqual(D data)
Condition
opExcludes(D data)
Condition
opGreaterThan(D data)
Condition
opIncludes(D data)
Condition
opLesserThan(D data)
Condition
opLesserThanOrEquals(D data)
String
toString()
D
validate(Object value)
Validates the passed in value against the constraints set for this ColumnSchema.void
validateType(Class<?> typeClass)
Verifies if this Column if of the specified type.D
valueFromJson(com.fasterxml.jackson.databind.JsonNode value)
-
-
-
Constructor Detail
-
ColumnSchema
public ColumnSchema(String name, ColumnType columnType)
-
-
Method Detail
-
fromJson
public static <E extends TableSchema<E>,D> ColumnSchema<E,D> fromJson(String name, com.fasterxml.jackson.databind.JsonNode json)
-
getName
public String getName()
-
getType
public ColumnType getType()
-
validate
public D validate(Object value)
Validates the passed in value against the constraints set for this ColumnSchema.
-
validateType
public void validateType(Class<?> typeClass)
Verifies if this Column if of the specified type.- Parameters:
typeClass
- the type to check for
-
valueFromJson
public D valueFromJson(com.fasterxml.jackson.databind.JsonNode value)
-
-