Class WcEntityConfig

java.lang.Object
com.ptc.odata.core.AbstractConfig
com.ptc.odata.core.entity.operation.AbstractOperationContainerConfig
All Implemented Interfaces:
Comparable

public class WcEntityConfig extends EntityConfig
Windchill specific entity config. Provides additional configuration properties:
  • wcType


  • Supported API: true

    Extendable: false
    • Method Details

      • getWcType

        public String getWcType()
        The specific Windchill type for this entity

        Supported API: true
        Returns:
        The internal name of the type definition this entity is linked to.
      • getWcExcludedTypes

        public List<String> getWcExcludedTypes()
        The specific Windchill sub-types excluded for this entity.

        All child types of the excluded sub-types will also be excluded.

        Supported API: true

        Returns:
        List of internal names of the windchill sub-types that should be excluded for this entity. Will not return null.
      • getWcTypeClass

        public Class getWcTypeClass()
        The specific Windchill type base class for this entity

        Supported API: true
        Returns:
        The class for the persistable business object that instances of the type related to this entity will be.
      • getURI

        public URI getURI(String id) throws org.apache.olingo.commons.api.ex.ODataException
        Used for generating a specific entity encoded URI for the given identifier.

        Supported API: true
        Overrides:
        getURI in class EntityConfig
        Throws:
        org.apache.olingo.commons.api.ex.ODataException
      • includeInServiceDocument

        public boolean includeInServiceDocument() throws org.apache.olingo.commons.api.ex.ODataException
        The indicates if the entity collection is supported as a service. Defaults to true when the entity has no base type set. If the entity has a base type set then defaults to false.

        Supported API: true
        Overrides:
        includeInServiceDocument in class EntityConfig
        Throws:
        org.apache.olingo.commons.api.ex.ODataException