|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.lyo.oslc4j.core.model.AbstractResource
public abstract class AbstractResource
Constructor Summary | |
---|---|
protected |
AbstractResource()
|
protected |
AbstractResource(URI about)
|
Method Summary | |
---|---|
void |
addType(URI type)
Adds an RDF type to this resource. |
URI |
getAbout()
|
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 |
setAbout(URI about)
|
void |
setExtendedProperties(Map<QName,Object> properties)
Sets extended properties not defined in the bean. |
void |
setTypes(Collection<URI> type)
Sets the RDF types of this resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractResource(URI about)
protected AbstractResource()
Method Detail |
---|
public final URI getAbout()
getAbout
in interface IResource
public final void setAbout(URI about)
setAbout
in interface IResource
public void setExtendedProperties(Map<QName,Object> properties)
IExtendedResource
setExtendedProperties
in interface IExtendedResource
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.public Map<QName,Object> getExtendedProperties()
IExtendedResource
getExtendedProperties
in interface IExtendedResource
public Collection<URI> getTypes()
IExtendedResource
OslcResourceShape.describes()
annotation.
getTypes
in interface IExtendedResource
public void setTypes(Collection<URI> type)
IExtendedResource
OslcResourceShape.describes()
annotation.
setTypes
in interface IExtendedResource
type
- the collection of typespublic void addType(URI type)
IExtendedResource
OslcResourceShape.describes()
annotation.
addType
in interface IExtendedResource
type
- the type URI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |