|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyModelFace
This interface describes a property of which several ones can be persisted within a content folder. Please remember that several fields of this class may not be set to true at the same time. Look at the specific getter and setters for details.
ContentFolderModelFace| Method Summary | |
|---|---|
java.lang.Boolean |
getBool()
If your property value is a boolean value and you only want boolean values in the "wert" field to be valid this should be true. |
java.lang.Boolean |
getBrowseable()
If the property resembles a path which can be browsed as a hierarchical structure, set this to true. |
java.lang.Boolean |
getDeletable()
Should the property be deletable? |
java.lang.Boolean |
getFolderSelection()
If this is set to true the field "wert" contains a value which must be a folder. |
java.lang.Long |
getId()
The id of the property |
java.lang.Boolean |
getImageSelection()
If this is set to true only images can be selected when using a browseable view. |
java.lang.Boolean |
getNumber()
If the "wert" field of this property contains a number and only numbers should be valid, this will be set to true. |
java.lang.String |
getSchluessel()
This method gets the key of the property. |
java.lang.Boolean |
getUrlSelection()
If the "wert" field should be a http retrievable url and the wert field is set to a ContentFace.getUrl(), set this to true. |
java.lang.Boolean |
getVisible()
|
java.lang.String |
getWert()
This method gets the value of the property. |
void |
setBool(java.lang.Boolean bool)
This field and getNumber()
getBrowseable()
getFolderSelection()
getImageSelection()
getUrlSelection()
must not be set to true at the same time. |
void |
setBrowseable(java.lang.Boolean browseable)
|
void |
setDeletable(java.lang.Boolean deletable)
Set if property should be deletable, or not. |
void |
setFolderSelection(java.lang.Boolean folderSelection)
This field and getNumber()
getBool()
getImageSelection()
getUrlSelection()
must not be set to true at the same time whereas getBrowseable()
should be. |
void |
setId(java.lang.Long id)
Normally this should not be set manually but by the persistence provider. |
void |
setImageSelection(java.lang.Boolean imageSelection)
This field and getNumber()
getBool()
getFolderSelection()
getUrlSelection()
must not be set to true at the same time whereas getBrowseable()
should be. |
void |
setNumber(java.lang.Boolean number)
This field and getBool()
getBrowseable()
getFolderSelection()
getImageSelection()
getUrlSelection()
must not be set to true at the same time. |
void |
setSchluessel(java.lang.String key)
|
void |
setUrlSelection(java.lang.Boolean urlSelection)
|
void |
setVisible(java.lang.Boolean visible)
|
void |
setWert(java.lang.String value)
|
boolean |
validate()
This method validates the whole property. |
| Method Detail |
|---|
java.lang.Long getId()
void setId(java.lang.Long id)
id - the id to set.java.lang.Boolean getDeletable()
void setDeletable(java.lang.Boolean deletable)
deletable - true if property should be deletable, false otherwise.getDeletable()java.lang.Boolean getBrowseable()
void setBrowseable(java.lang.Boolean browseable)
browseable - True if the property resembles a full, browseable,
absolute path, false otherwise.getBrowseable()java.lang.String getWert()
void setWert(java.lang.String value)
value - The value of this property.getWert()java.lang.String getSchluessel()
ContentProviderRegistryFace.getDefaultProperties()
ContentProviderRegistryFace.getDefaultProperties()void setSchluessel(java.lang.String key)
key - The key of this propertygetSchluessel()java.lang.Boolean getBool()
void setBool(java.lang.Boolean bool)
bool - True if the value(wert) of this property should only
contain Boolean values, false otherwise.getBool()java.lang.Boolean getUrlSelection()
ContentFace.getUrl(), set this to true.
void setUrlSelection(java.lang.Boolean urlSelection)
urlSelection - True if the "wert" field of this property should be a
selectable url.getUrlSelection()java.lang.Boolean getFolderSelection()
void setFolderSelection(java.lang.Boolean folderSelection)
getBrowseable()
should be.
folderSelection - getFolderSelection()java.lang.Boolean getImageSelection()
void setImageSelection(java.lang.Boolean imageSelection)
getBrowseable()
should be.
imageSelection - true if only images should be selectable, false otherwise.getImageSelection()java.lang.Boolean getNumber()
void setNumber(java.lang.Boolean number)
number - True if the value(wert) of this property should only
contain Boolean numbers, false otherwise.getNumber()java.lang.Boolean getVisible()
void setVisible(java.lang.Boolean visible)
visible - True if the value should be visible in the gui, false if
it is only used internally.getVisible()boolean validate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||