public class ReadMethodsForValueType extends MongoDatabaseMethods
MongoDatabaseMethods.Operator| Constructor and Description |
|---|
ReadMethodsForValueType() |
| Modifier and Type | Method and Description |
|---|---|
<T> ch.agent.crnickl.api.ValueType<T> |
getValueType(ch.agent.crnickl.api.Database database,
String name)
Find a value type with a given name.
|
<T> ch.agent.crnickl.api.ValueType<T> |
getValueType(ch.agent.crnickl.api.Surrogate s)
Find a value type corresponding to a surrogate.
|
Collection<ch.agent.crnickl.api.ValueType<?>> |
getValueTypes(ch.agent.crnickl.api.Database database,
String pattern)
Find a collection of value types with names matching a pattern.
|
addOperation, asQuery, compositeName, extractRegexp, getId, getId, getIdOrZero, getMongoDB, getMongoDB, getMongoDB, getObject, getObjectId, makeSurrogate, mongoObject, operationpublic <T> ch.agent.crnickl.api.ValueType<T> getValueType(ch.agent.crnickl.api.Database database,
String name)
throws ch.agent.crnickl.T2DBException
database - a databasename - a stringch.agent.crnickl.T2DBExceptionpublic Collection<ch.agent.crnickl.api.ValueType<?>> getValueTypes(ch.agent.crnickl.api.Database database, String pattern) throws ch.agent.crnickl.T2DBException
database - a databasepattern - a simple pattern or a regexp patternch.agent.crnickl.T2DBExceptionpublic <T> ch.agent.crnickl.api.ValueType<T> getValueType(ch.agent.crnickl.api.Surrogate s)
throws ch.agent.crnickl.T2DBException
s - a surrogatech.agent.crnickl.T2DBExceptionCopyright © 2013. All Rights Reserved.