Package com.arangodb.model
Class CollectionSchema
- java.lang.Object
-
- com.arangodb.model.CollectionSchema
-
public final class CollectionSchema extends Object
- Since:
- ArangoDB 3.7
- Author:
- Michele Rastelli
- See Also:
- API Documentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CollectionSchema.Level
-
Constructor Summary
Constructors Constructor Description CollectionSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionSchema.Level
getLevel()
String
getMessage()
String
getRule()
CollectionSchema
setLevel(CollectionSchema.Level level)
CollectionSchema
setMessage(String message)
CollectionSchema
setRule(String rule)
-
-
-
Method Detail
-
getRule
public String getRule()
- Returns:
- JSON Schema description
-
setRule
public CollectionSchema setRule(String rule)
-
getLevel
public CollectionSchema.Level getLevel()
- Returns:
- controls when the validation will be applied
-
setLevel
public CollectionSchema setLevel(CollectionSchema.Level level)
-
getMessage
public String getMessage()
- Returns:
- the message that will be used when validation fails
-
setMessage
public CollectionSchema setMessage(String message)
-
-