Class EntityDependency

  • All Implemented Interfaces:
    GetSequence, java.io.Serializable

    public class EntityDependency
    extends java.lang.Object
    implements java.io.Serializable, GetSequence
    Dependency of one entity to another entity.
    See Also:
    Serialized Form
    • Constructor Detail

      • EntityDependency

        public EntityDependency()
    • Method Detail

      • getMetaDataDefaultValuesConfigFile

        public java.lang.String getMetaDataDefaultValuesConfigFile()
        Get the path to the configuration file containing default data.
        Returns:
        path or null if not set
      • setMetaDataDefaultValuesConfigFile

        public void setMetaDataDefaultValuesConfigFile​(java.lang.String metaDataDefaultValuesConfigFile)
        Set the path to the configuration file containing default data.
        Parameters:
        metaDataDefaultValuesConfigFile - path or null
      • getSourceEntity

        public java.lang.String getSourceEntity()
        Get the identifier of the source entity.

        Defaults to empty string.

        Returns:
        the sourceEntity as String
      • setSourceEntity

        public void setSourceEntity​(java.lang.String sourceEntityIdentifier)
        Set the source entity identifier.

        Throws a NullArgumentException if argument is null.

        Parameters:
        sourceEntityIdentifier - the sourceEntity to set
      • setSourceEntity

        public void setSourceEntity​(Entity sourceEntity)
        Set the source entity identifier by Entity.

        Throws a NullArgumentException if argument is null.

        Parameters:
        sourceEntity - the sourceEntity to set
      • getDestinationEntity

        public java.lang.String getDestinationEntity()
        Get the identifier of the destination entity.

        Defaults to empty string.

        Returns:
        the destinationEntity as String
      • setDestinationEntity

        public void setDestinationEntity​(java.lang.String destinationEntityIdentifier)
        Set the destination entity identifier.

        Throws a NullArgumentException if argument is null.

        Parameters:
        destinationEntityIdentifier - the destinationEntity identifier to set
      • setDestinationEntity

        public void setDestinationEntity​(Entity destinationEntity)
        Set the destination entity identifier by Entity.

        Throws a NullArgumentException if argument is null.

        Parameters:
        destinationEntity - the destinationEntity to set
      • getType

        public java.lang.String getType()
        Get the dependency type.

        Defaults to empty string.

        Returns:
        the type as String
      • setType

        public void setType​(java.lang.String type)
        Set the dependency type.

        Throws a NullArgumentException if argument is null.

        Parameters:
        type -
      • getSequence

        public int getSequence()
        Get the sequence number for sorting of dependencies.
        Specified by:
        getSequence in interface GetSequence
        Returns:
        the sequence as int
      • setSequence

        public void setSequence​(int sequence)
        Set the sequence number for sorting of dependencies.
        Parameters:
        sequence -
      • setBulkloadMethod

        public void setBulkloadMethod​(EntityMethodCall bulkloadMethod)
        Set the method call for bulk load.

        Throws a NullArgumentException if argument is null.

        Parameters:
        bulkloadMethod -
      • setLoadMethod

        public void setLoadMethod​(EntityMethodCall loadMethod)
        Set the (default) load method for the dependencies.

        Throws a NullArgumentException if argument is null.

        Parameters:
        loadMethod -
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object