Class PipWrapper

  • All Implemented Interfaces:
    de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent, de.fraunhofer.iese.mydata.component.interfaces.IPolicyInformationPoint

    public class PipWrapper
    extends Object
    implements de.fraunhofer.iese.mydata.component.interfaces.IPolicyInformationPoint
    See Also:
    MyDataComponentWrapper
    • Field Detail

      • alreadyRightTypedReference

        protected final T extends de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent alreadyRightTypedReference
    • Constructor Detail

      • PipWrapper

        public PipWrapper​(de.fraunhofer.iese.mydata.component.ComponentId componentId,
                          Object instanceToWrap)
                   throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
    • Method Detail

      • evaluate

        public de.fraunhofer.iese.mydata.policy.parameter.DataObject<?> evaluate​(de.fraunhofer.iese.mydata.policy.PipRequest request)
                                                                          throws IOException,
                                                                                 de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
        Specified by:
        evaluate in interface de.fraunhofer.iese.mydata.component.interfaces.IPolicyInformationPoint
        Throws:
        IOException
        de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
      • getMethodInterfaceDescriptions

        public List<de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription> getMethodInterfaceDescriptions()
        Retrieve the automatically discovered MethodInterfaceDescriptions
        Returns:
        The automatically discovered MethodInterfaceDescriptions
      • callServiceMethod

        protected Object callServiceMethod​(String methodName,
                                           de.fraunhofer.iese.mydata.policy.parameter.ParameterList parameters)
                                    throws de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
        Throws:
        de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
      • getHealth

        public de.fraunhofer.iese.mydata.component.health.HealthStatus getHealth()
                                                                          throws IOException
        Specified by:
        getHealth in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
        Throws:
        IOException
      • getId

        public de.fraunhofer.iese.mydata.component.ComponentId getId()
                                                              throws IOException
        Specified by:
        getId in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
        Throws:
        IOException
      • reset

        public boolean reset()
                      throws IOException,
                             de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        Specified by:
        reset in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
        Throws:
        IOException
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException