com.fasterxml.jackson.databind.jsonSchema.types
Class ObjectSchema.SimpleDependency
java.lang.Object
com.fasterxml.jackson.databind.jsonSchema.types.ObjectSchema.Dependency
com.fasterxml.jackson.databind.jsonSchema.types.ObjectSchema.SimpleDependency
- Enclosing class:
- ObjectSchema
public static class ObjectSchema.SimpleDependency
- extends ObjectSchema.Dependency
Simple Dependency If the dependency value is a string, then the instance
object MUST have a property with the same name as the dependency value.
If the dependency value is an array of strings, then the instance object
MUST have a property with the same name as each string in the dependency
value's array.
ObjectSchema.SimpleDependency
public ObjectSchema.SimpleDependency(String depender,
String dependsOn)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getDepender
public String getDepender()
depender
- Returns:
- the depender
getDependsOn
public String getDependsOn()
dependsOn
- Returns:
- the dependsOn
Copyright © 2012 fasterxml.com. All Rights Reserved.