public class Pattern extends ContextEventPattern
ContextEventPattern.Indices
MY_URI
ANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE
Constructor and Description |
---|
Pattern(ManagedIndividual subj,
String predicate,
Object obj)
Simple constructor to create a Context Event Pattern with restrictions on
the exact subject, the predicate, and the exact object.
|
Pattern(ManagedIndividual subj,
String predicate,
String objTypeURI)
Simple constructor to create a Context Event Pattern with restrictions on
the exact subject, the predicate, and the type of object.
|
Pattern(String subjTypeURI,
String predicate,
Object obj)
Simple constructor to create a Context Event Pattern with restrictions on
the type of subject, the predicate, and the exact object.
|
Pattern(String subjTypeURI,
String predicate,
String objTypeURI)
Simple constructor to create a Context Event Pattern with restrictions on
the type of subject, the predicate, and the type of object.
|
addRestriction, getIndices, isClosedCollection, isWellFormed, matches, matches, matches, setProperty
addType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfProperties
addMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isQualifiedName, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteral
public Pattern(String subjTypeURI, String predicate, String objTypeURI)
subjTypeURI
- The type URI that the event subject must have. Null for any.predicate
- The exact predicate that the event must equal. Null for any.objTypeURI
- The type URI that the event object must have. Null for any.public Pattern(String subjTypeURI, String predicate, Object obj)
subjTypeURI
- The type URI that the event subject must have. Null for any.predicate
- The exact predicate that the event must equal. Null for any.obj
- The exact instance that the event object must equal. Null for
any.public Pattern(ManagedIndividual subj, String predicate, String objTypeURI)
subj
- The exact instance that the event subject must equal. Null for
any.predicate
- The exact predicate that the event must equal. Null for any.objTypeURI
- The type URI that the event object must have. Null for any.public Pattern(ManagedIndividual subj, String predicate, Object obj)
subj
- The exact instance that the event subject must equal. Null for
any.predicate
- The exact predicate that the event must equal. Null for any.obj
- The exact instance that the event object must equal. Null for
any.Copyright © 2018 universAAL Consortium. All rights reserved.