Class CmsContentCheckPropertyObject
- java.lang.Object
-
- org.opencms.workplace.tools.content.check.CmsContentCheckPropertyObject
-
public class CmsContentCheckPropertyObject extends java.lang.Object
This class encapsulates the configuration of one property check used by the property content check.- Since:
- 6.1.2
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE_BOTH
Constant for type file or folder.static java.lang.String
TYPE_FILE
Constant for type file.static java.lang.String
TYPE_FOLDER
Constant for type folder.
-
Constructor Summary
Constructors Constructor Description CmsContentCheckPropertyObject()
Constructor, creates a new empty CmsContentCheckProperetyObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
Returns the minimum length.java.lang.String
getPropertyname()
Returns the propertyname.java.lang.String
getType()
Returns the type.java.util.List
getValue()
Returns the value.boolean
isEmpty()
Returns the empty flag.boolean
isFilename()
Returns the filename flag.void
setEmpty(boolean empty)
Sets the empty flag.void
setFilename(boolean filename)
Sets the filename flag.void
setLength(int length)
Sets the minimum length.void
setPropertyname(java.lang.String propertyname)
Sets the propertyname.void
setType(java.lang.String type)
Sets the type.void
setValue(java.util.List value)
Sets the value.java.lang.String
toString()
-
-
-
Field Detail
-
TYPE_BOTH
public static final java.lang.String TYPE_BOTH
Constant for type file or folder.- See Also:
- Constant Field Values
-
TYPE_FILE
public static final java.lang.String TYPE_FILE
Constant for type file.- See Also:
- Constant Field Values
-
TYPE_FOLDER
public static final java.lang.String TYPE_FOLDER
Constant for type folder.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsContentCheckPropertyObject
public CmsContentCheckPropertyObject()
Constructor, creates a new empty CmsContentCheckProperetyObject.*
-
-
Method Detail
-
getLength
public int getLength()
Returns the minimum length.- Returns:
- the minimum length
-
getPropertyname
public java.lang.String getPropertyname()
Returns the propertyname.- Returns:
- the propertyname
-
getType
public java.lang.String getType()
Returns the type.- Returns:
- the type
-
getValue
public java.util.List getValue()
Returns the value.- Returns:
- the value
-
isEmpty
public boolean isEmpty()
Returns the empty flag.- Returns:
- the empty flag
-
isFilename
public boolean isFilename()
Returns the filename flag.- Returns:
- the filename flag
-
setEmpty
public void setEmpty(boolean empty)
Sets the empty flag.- Parameters:
empty
- the empty flag to set
-
setFilename
public void setFilename(boolean filename)
Sets the filename flag.- Parameters:
filename
- the filename flag to set
-
setLength
public void setLength(int length)
Sets the minimum length.- Parameters:
length
- the minimum length to set
-
setPropertyname
public void setPropertyname(java.lang.String propertyname)
Sets the propertyname.- Parameters:
propertyname
- the propertyname to set
-
setType
public void setType(java.lang.String type)
Sets the type.- Parameters:
type
- the type to set
-
setValue
public void setValue(java.util.List value)
Sets the value.- Parameters:
value
- the value to set
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-