|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSWAPProperty
A SSWAPProperty
is a specific instance of a
SSWAPPredicate
with an assigned value, associated with a
SSWAPIndividual
. A property consists of a name (URI) and a non-null
value (SSWAPElement
). Like String
, a
SSWAPProperty
is immutable. To create a
SSWAPProperty
, assign a
property/value pair to an individual; see SSWAPIndividual
.
SSWAPElement
,
SSWAPIndividual
,
SSWAPPredicate
Method Summary | |
---|---|
SSWAPIndividual |
getIndividual()
Gets the individual for which this property is assigned. |
SSWAPPredicate |
getPredicate()
Gets the SSWAPPredicate for this property. |
SSWAPElement |
getValue()
Gets the value of the property. |
void |
removeProperty()
Removes the property from the individual. |
Methods inherited from interface info.sswap.api.model.SSWAPElement |
---|
addComment, addLabel, asBoolean, asDouble, asIndividual, asInteger, asList, asLiteral, asString, getComment, getLabel, isIndividual, isList, isLiteral |
Methods inherited from interface info.sswap.api.model.SSWAPModel |
---|
addImport, checkProfile, dereference, dereference, doClosure, getDocument, getImports, getInputStream, getNsPrefixMap, getReasoningService, getTypeSignature, getURI, isDereferenced, removeImport, removeNsPrefix, serialize, serialize, setNsPrefix, validate |
Method Detail |
---|
SSWAPElement getValue()
SSWAPPredicate getPredicate()
SSWAPIndividual getIndividual()
void removeProperty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |