Class RepresentableEntityDelegate

java.lang.Object
com.ptc.odata.windchill.entity.service.RepresentableEntityDelegate
All Implemented Interfaces:
com.ptc.odata.core.entity.service.EntityDelegate, com.ptc.odata.windchill.entity.processor.EntityProcessorDelegate, com.ptc.odata.windchill.entity.service.WcEntityDelegate

@Component("representable") @Scope("singleton") public class RepresentableEntityDelegate extends Object implements com.ptc.odata.windchill.entity.service.WcEntityDelegate, com.ptc.odata.windchill.entity.processor.EntityProcessorDelegate
Provides attributes, actions and navigations for Windchill objects which support Representable. This delegate can be used to extend another 'wcType' using the inheritance property in the JSON schema declaration. For example:
 
{
    "name":"WindchillObject",
    "collectionName":"WindchillObjects",
    "type":"wcType",
    "wcType":"wt.fc.WindchillObject",
    "description":"WindchillObjects",
    "attributes":[
        {
         "name":"Name",
         "internalName":"name",
         "type":"String"
        }, {
         "name":"Number",
         "internalName":"number",
         "type":"String"
        }
    ],
    "inherits":[
        {
            "name": "representable"
        }
    ]
}
 
 
Supported API: true

Extendable: false
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.ptc.odata.core.entity.service.EntityDelegate

    getEdmProvider, setEdmProvider

    Methods inherited from interface com.ptc.odata.windchill.entity.processor.EntityProcessorDelegate

    addEntityAssociation, createMediaEntity, deleteAllEntityAssociations, deleteEntityAssociation, getEntityStreamProperties, multiOperationPostProcess, multiOperationPreProcess, operationPostProcess, operationPreProcess, processAdditionalAttributes, readAction, readActionVoid, readEntityData, readEntitySetData, readMediaEntity, updateEntityAssociations, updateMediaEntity, vetoEmptyPropertyOnNewEntity

    Methods inherited from interface com.ptc.odata.windchill.entity.service.WcEntityDelegate

    getInheritedActions, getOwningDomainName, hasStream