Class FileRestrictionTO

java.lang.Object
de.hsh.graja.transfer.assignment.FileRestrictionTO

public class FileRestrictionTO extends Object
  • Field Details

    • path

      protected String path
    • use

      protected String use
    • patternFormat

      protected String patternFormat
  • Constructor Details

    • FileRestrictionTO

      public FileRestrictionTO()
    • FileRestrictionTO

      public FileRestrictionTO(String path, String use, String patternFormat)
  • Method Details

    • getPath

      public String getPath()
      Ruft den Wert der value-Eigenschaft ab.
      Returns:
      possible object is String
    • setPath

      public void setPath(String value)
      Legt den Wert der value-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getUse

      public String getUse()
      Gets the value of the use property.
      Returns:
      possible object is String
    • isRequired

      public boolean isRequired()
    • isOptional

      public boolean isOptional()
    • isProhibited

      public boolean isProhibited()
    • setUse

      public void setUse(String value)
      Sets the value of the use property.
      Parameters:
      value - allowed object is String
    • getPatternFormat

      public String getPatternFormat()
      Ruft den Wert der patternFormat-Eigenschaft ab.
      Returns:
      possible object is String
    • setPatternFormat

      public void setPatternFormat(String value)
      Legt den Wert der patternFormat-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getNormalizedPathFor

      public static String getNormalizedPathFor(String path)
    • matchesPath

      public boolean matchesPath(String path)
    • checkPath

      public FileRestrictionMatch checkPath(String path)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getDescription

      public String getDescription()
    • isLiteral

      public boolean isLiteral()