(RTC Process Data) We want to get "attribute type" , when we use REST API
3 answers
See 5.2 Property Constraints for details about standard OSLC properties.
Comments
Hi Jim
Thank you comment
As.. not exist links "5.2 Property Constraints" URL
Please Again URL
Hi Ralph.
Thank you!! take a URL.
As long as you read the document,
Does it mean that you can not confirm RTC-specific Type?
ex. bytesize Small String <-> Medium String,
list type Contributor <-> Enumerations
I want to know, how to check if the String type is Small, Medium or Large.
Hiroaki,
Andrew
Thanks Followed.
I understand the items to check.
I want to get oslc: maxsize, but the shape XML did not contain this property.
ex.
https://jazz.server/ccm/oslc/context/_ziwZ-4xeEeaxEP_v24d1Ow/shapes/workitems/defect
(defect shape info)
attribute "key_word" datatype:small string
<rdf:Description rdf:about="https://jazz.server/ccm2/oslc/context/_ziwZ-4xeEeaxEP_v24d1Ow/shapes/workitems/defect/property/key_word">
<rdf:type rdf:resource="http://open-services.net/ns/core#Property" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<oslc:readOnly rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</oslc:readOnly>
<oslc:propertyDefinition rdf:resource="http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/key_word" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">key_word</oslc:name>
<oslc:defaultValue></oslc:defaultValue>
<dcterms:title rdf:parseType="Literal">Key Word</dcterms:title>
</rdf:Description>
no property "oslc: maxsize"
Comments
I am afraid with the approach I have suggested you can either ask the product people to add those properties to the OSLC responses of the products in question or to hardcode the mapping of the property names to attribute types (but I guess you did that in the meantime already).
Hi Andrew!!
Thank you very much.
It means that you can not achieve the purpose if it is as it is.
Ask to product support.