Interface IDataModel

  • All Superinterfaces:
    IAsset, java.io.Serializable
    All Known Implementing Classes:
    DataModel

    public interface IDataModel
    extends IAsset
    Represents a DataModel and it's metadata description. DataModels reside within a schema and contains properties and relationships to other datamodels.
    • Method Detail

      • getSchemaName

        java.lang.String getSchemaName()
        Gets the name of schema in which this datamodel resides in.
        Returns:
        the schema name in which this datamodel resides in.
      • getProperties

        java.util.List<? extends IProperty> getProperties()
        Gets the properties of this datamodel.
        Returns:
        the properties of this datamodel.
      • setProperties

        void setProperties​(java.util.List<? extends IProperty> properties)
        Sets the properties of this datamodel.
        Parameters:
        properties - the properties of this datamodel.
      • getRelationships

        java.util.List<Relationship> getRelationships​(IDataModel otherDataModel)
        Gets relationships between this dataModel and another dataModel.
        Parameters:
        otherDataModel - another datamodel for which to find relationships to and from.
        Returns:
        an array of relationsips between this and the other datamodel.
      • isRootEntity

        boolean isRootEntity()
        RootEntity is true if it is either an argument or return type of an operation
        Returns:
      • setRootEntity

        void setRootEntity​(boolean value)
      • isBinaryEntity

        boolean isBinaryEntity()
      • setBinaryEntity

        void setBinaryEntity​(boolean binaryEntity)
      • isDefaultBinaryEntity

        boolean isDefaultBinaryEntity()
      • setDefaultBinaryEntity

        void setDefaultBinaryEntity​(boolean defaultBinaryEntity)
      • isGenericOperationAllowed

        boolean isGenericOperationAllowed()
        Flag represents whether this entity can be bind with generic operations
        Returns:
        - Return true if generic operation are allowed.