Package de.hsh.graja.transfer.assignment
Class FileRestrictionTO
- java.lang.Object
-
- de.hsh.graja.transfer.assignment.FileRestrictionTO
-
public class FileRestrictionTO extends Object
-
-
Constructor Summary
Constructors Constructor Description FileRestrictionTO()
FileRestrictionTO(String path, String use, String patternFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRestrictionMatch
checkPath(String path)
boolean
equals(Object obj)
String
getDescription()
static String
getNormalizedPathFor(String path)
String
getPath()
Ruft den Wert der value-Eigenschaft ab.String
getPatternFormat()
Ruft den Wert der patternFormat-Eigenschaft ab.String
getUse()
Gets the value of the use property.int
hashCode()
boolean
isLiteral()
boolean
isOptional()
boolean
isProhibited()
boolean
isRequired()
boolean
matchesPath(String path)
void
setPath(String value)
Legt den Wert der value-Eigenschaft fest.void
setPatternFormat(String value)
Legt den Wert der patternFormat-Eigenschaft fest.void
setUse(String value)
Sets the value of the use property.
-
-
-
Method Detail
-
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 isString
-
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 isString
-
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 isString
-
matchesPath
public boolean matchesPath(String path)
-
checkPath
public FileRestrictionMatch checkPath(String path)
-
getDescription
public String getDescription()
-
isLiteral
public boolean isLiteral()
-
-