|
||||||||||
| 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 IResourcepublic final void setAbout(URI about)
setAbout in interface IResourcepublic void setExtendedProperties(Map<QName,Object> properties)
IExtendedResource
setExtendedProperties in interface IExtendedResourceproperties - 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 IExtendedResourcepublic Collection<URI> getTypes()
IExtendedResourceOslcResourceShape.describes() annotation.
getTypes in interface IExtendedResourcepublic void setTypes(Collection<URI> type)
IExtendedResourceOslcResourceShape.describes() annotation.
setTypes in interface IExtendedResourcetype - the collection of typespublic void addType(URI type)
IExtendedResourceOslcResourceShape.describes() annotation.
addType in interface IExtendedResourcetype - the type URI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||