Class TypeDefValidationForRequest

  • All Implemented Interfaces:
    Serializable

    public class TypeDefValidationForRequest
    extends OMRSAPIRequest
    TypeDefValidationForRequest carries the TypeDef validation properties for destructive requests (such as delete).
    See Also:
    Serialized Form
    • Constructor Detail

      • TypeDefValidationForRequest

        public TypeDefValidationForRequest()
        Default constructor
      • TypeDefValidationForRequest

        public TypeDefValidationForRequest​(TypeDefValidationForRequest template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getTypeDefGUID

        public String getTypeDefGUID()
        Return the TypeDef's unique identifier.
        Returns:
        String guid
      • setTypeDefGUID

        public void setTypeDefGUID​(String typeDefGUID)
        Set up the TypeDef's unique identifier.
        Parameters:
        typeDefGUID - String guid
      • getTypeDefName

        public String getTypeDefName()
        Return the TypeDef's name.
        Returns:
        String Name
      • setTypeDefName

        public void setTypeDefName​(String typeDefName)
        Set up the TypeDef's name.
        Parameters:
        typeDefName - String name
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class Object
        Returns:
        int hash code