BaseType.BooleanBaseType, BaseType.IntegerBaseType, BaseType.RealBaseType, BaseType.StringBaseType, BaseType.UuidBaseType
Constructor and Description |
---|
StringBaseType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BaseType.StringBaseType |
fromString(String typeString) |
protected void |
getConstraints(BaseType.StringBaseType baseType,
com.fasterxml.jackson.databind.JsonNode type) |
Set<String> |
getEnums() |
int |
getMaxLength() |
int |
getMinLength() |
int |
hashCode() |
void |
setEnums(Set<String> enums) |
void |
setMaxLength(int maxLength) |
void |
setMinLength(int minLength) |
String |
toString() |
Object |
toValue(com.fasterxml.jackson.databind.JsonNode value) |
void |
validate(Object value) |
fromJson, fromJsonNode
public BaseType.StringBaseType fromString(String typeString)
fromString
in class BaseType<BaseType.StringBaseType>
protected void getConstraints(BaseType.StringBaseType baseType, com.fasterxml.jackson.databind.JsonNode type)
getConstraints
in class BaseType<BaseType.StringBaseType>
public Object toValue(com.fasterxml.jackson.databind.JsonNode value)
toValue
in class BaseType<BaseType.StringBaseType>
public void validate(Object value)
validate
in class BaseType<BaseType.StringBaseType>
public int getMinLength()
public void setMinLength(int minLength)
public int getMaxLength()
public void setMaxLength(int maxLength)
Copyright © 2019 OpenDaylight. All rights reserved.