EDMData


edm.edom3

Interface EDMData


  • All Superinterfaces:EDMContextDependent

    All Known Subinterfaces:EDMAggregate, EDMApplicationSchema, EDMDefinedType, EDMExpressSchema, EDMFileMapping, EDMGroup, EDMInstance, EDMInstanceTools, EDMLocalStream, EDMModel, EDMQueryResult, EDMRepository, EDMRow, EDMSchema, EDMSelect, EDMUser, EDMUserOrGroup



    public interface EDMData
    extends EDMContextDependent

    Everything tht can be "stored" in EDM domain is EDMData. This goes for files as well as models, repositories etc. EDMData wraps all that can be used as source or target for EDMWorkers. Use a data factory for creating.

    Version:3Author:Arne Toen - EPM Technology AS.See Also:EDMDataFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 

      Modifier and TypeMethod and Description
      booleanexists()
      Check if this item exists
      longgetInstanceId()
      get id for local model, instance or aggregate
      java.lang.StringgetName()
      Get name, qualified model name for model, file name for file
      EDMDatagetOwner()
      Get the container for this data element.
      For database instance : return model.
      For XML configuration : return schema.
      For query result row : return query result
      booleanisLocal()
      Check if this data is residiong in a local context
      booleanisRemote()
      Check if this data is residing in a remote context
    • Method Detail

      • exists

        boolean exists()
                throws EdmiException

        Check if this item exists

        Returns:true if the item exists, false elseThrows:EdmiException - if something goes wrong

      • getInstanceId

        long getInstanceId()
                    throws EdmiException

        get id for local model, instance or aggregate

        Returns:instance id for this objectThrows:EdmiException - if the methode fails

      • getName

        java.lang.String getName()
                          throws EdmiException

        Get name, qualified model name for model, file name for file

        Returns:name for this objectThrows:EdmiException - if the methode fails

      • getOwner

        EDMData getOwner()
                  throws EdmiException

        Get the container for this data element.
        For database instance : return model.
        For XML configuration : return schema.
        For query result row : return query result

        Returns:owner, null if not assignedThrows:EdmiException - if the methode fails

      • isLocal

        boolean isLocal()
                 throws EdmiException

        Check if this data is residiong in a local context

        Returns:true if localThrows:EdmiException - if the method fails

      • isRemote

        boolean isRemote()
                  throws EdmiException

        Check if this data is residing in a remote context

        Returns:true if remoteThrows:EdmiException - if the method fails