Class ResourceTypeChange


  • public class ResourceTypeChange
    extends Object
    Encapsulates a resource type change data.
    Since:
    3.9.0
    • Method Detail

      • getContainer

        public String getContainer()
        Gets the container id.
        Returns:
        the container id.
      • getArtifactType

        public ArtifactType getArtifactType()
        Gets the artifact type.
        Returns:
        the artifact type.
      • getPreviousType

        public Optional<URI> getPreviousType()
        Gets the previous resource type URI.
        Returns:
        an empty Optional if no resource type was mapped previously; the contained reference otherwise.
      • getCurrentType

        public Optional<URI> getCurrentType()
        Gets the current resource type URI.
        Returns:
        an empty Optional if no resource type is currently mapped; the contained reference otherwise.