Class ValidationTarget

    • Method Detail

      • getType

        public TargetType getType()
        Gets the target type.
        Returns:
        the target type
      • setType

        public void setType​(TargetType type)
        Sets the target type.
        Parameters:
        type - the new target type
      • getLocation

        public String getLocation()
        Gets the target location.
        Returns:
        the location
      • setLocation

        protected void setLocation​(String location)
        Sets the target location.
        Parameters:
        location - the new location
      • getName

        public String getName()
        Gets the name of the target.
        Returns:
        the target name
      • setName

        public void setName​(String newName)
        Sets the target name.
        Parameters:
        newName - the new target name
      • isLabel

        public boolean isLabel()
        Tests whether the target is a label.
        Returns:
        true, if the target is a label
      • setLabel

        public void setLabel​(boolean flag)
        Sets whether the target is a label.
        Parameters:
        flag - true, if the target is a label
      • getIdentifier

        public Identifier getIdentifier()
        Gets the identification string for this target.
        Returns:
        the identifier
      • setIdentifier

        public void setIdentifier​(Identifier identifier)
        Sets the identification string for this target.
        Parameters:
        identifier - the identifier
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getUrl

        public URL getUrl()