public interface IExtendedResource extends IResource
Modifier and Type | Method and Description |
---|---|
void |
addType(URI type)
Adds an RDF type to this resource.
|
Map<QName,Object> |
getExtendedProperties()
Gets back the list of extended properties not defined in this bean.
|
Collection<URI> |
getTypes()
Gets the RDF types of this resource.
|
void |
setExtendedProperties(Map<QName,Object> properties)
Sets extended properties not defined in the bean.
|
void |
setTypes(Collection<URI> types)
Sets the RDF types of this resource.
|
Collection<URI> getTypes()
OslcResourceShape.describes()
annotation.void setTypes(Collection<URI> types)
OslcResourceShape.describes()
annotation.types
- the collection of typesvoid addType(URI type)
OslcResourceShape.describes()
annotation.type
- the type URIvoid setExtendedProperties(Map<QName,Object> properties)
properties
- a map of properties where the key is the predicate qualified
name and the value is the object of the statement. Values are
collections if there are multiple statements for a predicate.Copyright © 2017. All rights reserved.