ACCEPT_HEADER, ACCEPT_LANGUAGE_HEADER, ALLOWEDACTIONS, ALLOWEDOPTIONS, ALLOWEDSTATES, ATTACHMENT_MEMBER, CONTENTTYPE_HEADER, CREATION_DIALOG, CREATION_FACTORY, DCTERMS_NS, DEFAULT_USAGE, DESCENDENT, ETAG_HEADER, EXTENDED_TYPES, FOAF_NS, IFMATCH_HEADER, INSTANCE_SHAPE, INTERNALSTATUS, LOCATION_HEADER, MIME_TYPE_COMPACTRDFXML, MIME_TYPE_OSLCJSON, MIME_TYPE_RDFXML, OCCURS_EXACTLY_ONE, OCCURS_ONE_OR_MANY, OCCURS_ZERO_OR_MANY, OCCURS_ZERO_OR_ONE, OSLC_CM_NS, OSLC_FORMAT_COMPACTXML, OSLC_FORMAT_CSV, OSLC_FORMAT_FORMENCODED, OSLC_FORMAT_OSLCJSON, OSLC_FORMAT_OSLCLEANJSON, OSLC_FORMAT_RDFJSON, OSLC_FORMAT_RDFXML, OSLC_FORMAT_XML, OSLC_NS, OSLC_VERSION_HEADER, QUERY_CAPABILITY, RDF_NS, RDFS_MEMBER, RDFS_MEMBER_QNAME, RDFS_NS, REPRESENTATION_EITHER, REPRESENTATION_INLINE, REPRESENTATION_REFERENCE, RR_DOMAIN_URI, RR_NS, SELECTION_DIALOG, SPI_NS, TYPE_ANYRESOURCE, TYPE_BOOLEAN, TYPE_DATETIME, TYPE_DECIMAL, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LOCALRESOURCE, TYPE_RESOURCE, TYPE_RESOURCESHAPE, TYPE_STRING, TYPE_XMLLITERAL, WDRS_NS
Constructor and Description |
---|
OslcShape(com.hp.hpl.jena.rdf.model.Model oslcModel,
java.lang.String resType,
java.lang.String shapeURI) |
Modifier and Type | Method and Description |
---|---|
void |
createLiteralProperty(java.lang.String occursURI,
java.lang.String propName,
java.lang.String propNs,
java.lang.String valueTypeURI,
java.lang.String title,
java.lang.String defaultValue,
int maxSize) |
com.hp.hpl.jena.rdf.model.Resource |
createResourceProperty(java.lang.String occursURI,
java.lang.String propName,
java.lang.String propNs,
java.lang.String valueTypeURI,
java.lang.String rangeURI,
java.lang.String valueShapeURI,
java.lang.String title,
java.util.Set<java.lang.String> usageURIs,
java.lang.String representationURI) |
void |
setDefaultValue(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String defValue) |
void |
setMaxSize(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String size) |
void |
setOccurs(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String occursURI) |
void |
setPropertyDefinition(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String propNsURI) |
void |
setPropertyName(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String propName) |
void |
setRange(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String rangeURI) |
void |
setRepresentation(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String repURI) |
void |
setTitle(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String title) |
void |
setUsage(com.hp.hpl.jena.rdf.model.Resource Property,
java.util.Set<java.lang.String> usageURISet) |
void |
setValueType(com.hp.hpl.jena.rdf.model.Resource property) |
void |
setValueType(com.hp.hpl.jena.rdf.model.Resource property,
java.lang.String valueType) |
public OslcShape(com.hp.hpl.jena.rdf.model.Model oslcModel, java.lang.String resType, java.lang.String shapeURI)
public void setMaxSize(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String size)
public void setOccurs(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String occursURI)
public void setPropertyName(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String propName)
public void setDefaultValue(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String defValue)
public void setPropertyDefinition(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String propNsURI)
public void setValueType(com.hp.hpl.jena.rdf.model.Resource property)
public void setValueType(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String valueType)
public void setRepresentation(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String repURI)
public void setRange(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String rangeURI)
public void setTitle(com.hp.hpl.jena.rdf.model.Resource property, java.lang.String title)
public void setUsage(com.hp.hpl.jena.rdf.model.Resource Property, java.util.Set<java.lang.String> usageURISet)
public com.hp.hpl.jena.rdf.model.Resource createResourceProperty(java.lang.String occursURI, java.lang.String propName, java.lang.String propNs, java.lang.String valueTypeURI, java.lang.String rangeURI, java.lang.String valueShapeURI, java.lang.String title, java.util.Set<java.lang.String> usageURIs, java.lang.String representationURI)
public void createLiteralProperty(java.lang.String occursURI, java.lang.String propName, java.lang.String propNs, java.lang.String valueTypeURI, java.lang.String title, java.lang.String defaultValue, int maxSize)