Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSCHE_ARRAY |
static java.lang.String |
JSCHE_BOOLEAN |
static java.lang.String |
JSCHE_INTEGER |
static java.lang.String |
JSCHE_NULL |
static java.lang.String |
JSCHE_NUMBER |
static java.lang.String |
JSCHE_OBJECT |
static java.lang.String |
JSCHE_STRING |
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 |
---|
OslcMboJsonSchemaGenerator() |
OslcMboJsonSchemaGenerator(OslcRequest oslcRequest,
java.lang.String objectName) |
OslcMboJsonSchemaGenerator(OslcRequest oslcRequest,
java.lang.String objectName,
MboRemote owner,
java.lang.String relation) |
Modifier and Type | Method and Description |
---|---|
void |
addPrimaryKeys(JSONSchema jsonSchema,
java.lang.String objectName) |
void |
createLiteralProperty(boolean occurs,
java.lang.String propName,
JSONSchema js,
java.lang.String propNs,
java.lang.String valueType,
MboValueInfo colInfo,
Mbo zombieMbo) |
void |
createRelationLiteralProperty(boolean occurs,
java.lang.String propName,
JSONSchema js,
MboValueInfo mvi,
MboValueInfoStatic mvis,
java.lang.String overrideTitle) |
JSONSchema |
generateJSONSchema() |
java.util.Map<java.lang.String,java.lang.String> |
getMapDesc() |
OslcResourceResponse |
getRepresentation() |
com.ibm.json.java.JSONObject |
getRepresentationAsJSON() |
byte[] |
getShape() |
void |
relatedJSONSchema(java.lang.String xattr,
java.lang.String curxattr,
MboSetRemote msr,
Mbo zombieMbo,
JSONSchema jsonSchema,
java.util.Map<java.lang.String,OslcResourceProperty> resProp) |
void |
relationJSONSchema(java.lang.String xattr,
java.lang.String curxattr,
MboSetRemote msr,
Mbo zombieMbo,
JSONSchema jsonSchema) |
void |
relationJSONSchema(java.lang.String xattr,
java.lang.String curxattr,
MboSetRemote msr,
Mbo zombieMbo,
JSONSchema jsonSchema,
java.lang.String alias) |
void |
setMapDesc(java.util.Map<java.lang.String,java.lang.String> mapDesc) |
void |
setResourceProperties(java.util.Map<java.lang.String,OslcResourceProperty> resourceProperties) |
void |
setZombie(MboRemote zombie) |
public static final java.lang.String JSCHE_STRING
public static final java.lang.String JSCHE_NUMBER
public static final java.lang.String JSCHE_NULL
public static final java.lang.String JSCHE_INTEGER
public static final java.lang.String JSCHE_BOOLEAN
public static final java.lang.String JSCHE_ARRAY
public static final java.lang.String JSCHE_OBJECT
public OslcMboJsonSchemaGenerator()
public OslcMboJsonSchemaGenerator(OslcRequest oslcRequest, java.lang.String objectName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OslcMboJsonSchemaGenerator(OslcRequest oslcRequest, java.lang.String objectName, MboRemote owner, java.lang.String relation) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setResourceProperties(java.util.Map<java.lang.String,OslcResourceProperty> resourceProperties)
public void setZombie(MboRemote zombie)
public void createLiteralProperty(boolean occurs, java.lang.String propName, JSONSchema js, java.lang.String propNs, java.lang.String valueType, MboValueInfo colInfo, Mbo zombieMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createRelationLiteralProperty(boolean occurs, java.lang.String propName, JSONSchema js, MboValueInfo mvi, MboValueInfoStatic mvis, java.lang.String overrideTitle) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void relationJSONSchema(java.lang.String xattr, java.lang.String curxattr, MboSetRemote msr, Mbo zombieMbo, JSONSchema jsonSchema) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void relationJSONSchema(java.lang.String xattr, java.lang.String curxattr, MboSetRemote msr, Mbo zombieMbo, JSONSchema jsonSchema, java.lang.String alias) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void relatedJSONSchema(java.lang.String xattr, java.lang.String curxattr, MboSetRemote msr, Mbo zombieMbo, JSONSchema jsonSchema, java.util.Map<java.lang.String,OslcResourceProperty> resProp) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public JSONSchema generateJSONSchema() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OslcResourceResponse getRepresentation() throws MXException, java.rmi.RemoteException, java.io.UnsupportedEncodingException
MXException
java.rmi.RemoteException
java.io.UnsupportedEncodingException
public com.ibm.json.java.JSONObject getRepresentationAsJSON() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public byte[] getShape() throws MXException, java.rmi.RemoteException, java.io.UnsupportedEncodingException
MXException
java.rmi.RemoteException
java.io.UnsupportedEncodingException
public void addPrimaryKeys(JSONSchema jsonSchema, java.lang.String objectName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Map<java.lang.String,java.lang.String> getMapDesc()
public void setMapDesc(java.util.Map<java.lang.String,java.lang.String> mapDesc)