Class CmsContentCheckPropertyObject
java.lang.Object
org.opencms.workplace.tools.content.check.CmsContentCheckPropertyObject
This class encapsulates the configuration of one property check used by the
property content check.
- Since:
- 6.1.2
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructor, creates a new empty CmsContentCheckProperetyObject. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the minimum length.Returns the propertyname.getType()
Returns the type.getValue()
Returns the value.boolean
isEmpty()
Returns the empty flag.boolean
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
(String propertyname) Sets the propertyname.void
Sets the type.void
Sets the value.toString()
-
Field Details
-
TYPE_BOTH
Constant for type file or folder.- See Also:
-
TYPE_FILE
Constant for type file.- See Also:
-
TYPE_FOLDER
Constant for type folder.- See Also:
-
-
Constructor Details
-
CmsContentCheckPropertyObject
public CmsContentCheckPropertyObject()Constructor, creates a new empty CmsContentCheckProperetyObject.*
-
-
Method Details
-
getLength
Returns the minimum length.- Returns:
- the minimum length
-
getPropertyname
Returns the propertyname.- Returns:
- the propertyname
-
getType
Returns the type.- Returns:
- the type
-
getValue
Returns the value.- Returns:
- the value
-
isEmpty
Returns the empty flag.- Returns:
- the empty flag
-
isFilename
Returns the filename flag.- Returns:
- the filename flag
-
setEmpty
Sets the empty flag.- Parameters:
empty
- the empty flag to set
-
setFilename
Sets the filename flag.- Parameters:
filename
- the filename flag to set
-
setLength
Sets the minimum length.- Parameters:
length
- the minimum length to set
-
setPropertyname
Sets the propertyname.- Parameters:
propertyname
- the propertyname to set
-
setType
Sets the type.- Parameters:
type
- the type to set
-
setValue
Sets the value.- Parameters:
value
- the value to set
-
toString
-