Package 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:
- 3
- Author:
- Arne Toen - EPM Technology AS.
- See Also:
EDMDataFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
exists()
Check if this item existslong
getInstanceId()
get id for local model, instance or aggregatejava.lang.String
getName()
Get name, qualified model name for model, file name for fileEDMData
getOwner()
Get the container for this data element.
For database instance : return model.
For XML configuration : return schema.
For query result row : return query resultboolean
isLocal()
Check if this data is residiong in a local contextboolean
isRemote()
Check if this data is residing in a remote context-
Methods inherited from interface edm.edom3.EDMContextDependent
getContext
-
-
-
-
Method Detail
-
exists
boolean exists() throws EdmiException
Check if this item exists- Returns:
- true if the item exists, false else
- Throws:
EdmiException
- if something goes wrong
-
getInstanceId
long getInstanceId() throws EdmiException
get id for local model, instance or aggregate- Returns:
- instance id for this object
- Throws:
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 object
- Throws:
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 assigned
- Throws:
EdmiException
- if the methode fails
-
isLocal
boolean isLocal() throws EdmiException
Check if this data is residiong in a local context- Returns:
- true if local
- Throws:
EdmiException
- if the method fails
-
isRemote
boolean isRemote() throws EdmiException
Check if this data is residing in a remote context- Returns:
- true if remote
- Throws:
EdmiException
- if the method fails
-
-