public interface IFieldDescriptor extends org.apache.wicket.util.io.IClusterable, IObservable
Modifier and Type | Method and Description |
---|---|
void |
addValidator(String validator) |
Set<String> |
getExcluded()
For residual field definitions (name is '*'), the excluded names consist of the list of the paths for all
other fields in the type.
|
String |
getName()
Symbolic name of the field.
|
String |
getPath()
The (JCR) path of the field.
|
ITypeDescriptor |
getTypeDescriptor()
The descriptor of the type of the field.
|
Set<String> |
getValidators()
The symbolic names for validators associated with this field.
|
boolean |
isAutoCreated()
Will an instance of the field be created automatically for a new instance of the containing type.
|
boolean |
isMandatory()
When the field is mandatory, it must be present for the (JCR) session to be in a valid state.
|
boolean |
isMultiple()
Can multiple instances of this field be created.
|
boolean |
isOrdered()
When multiple instances of the field can be present, can they be reordered.
|
boolean |
isPrimary()
Is this field the primary field of the containing type.
|
boolean |
isProtected()
Is the field protected, i.e.
|
void |
removeValidator(String validator) |
void |
setAutoCreated(boolean autocreated) |
void |
setExcluded(Set<String> set) |
void |
setMandatory(boolean mandatory) |
void |
setMultiple(boolean multiple) |
void |
setOrdered(boolean isOrdered) |
void |
setPath(String path) |
equals, hashCode, setObservationContext, startObservation, stopObservation
String getName()
ITypeDescriptor getTypeDescriptor()
String getPath()
boolean isMultiple()
boolean isAutoCreated()
boolean isProtected()
boolean isMandatory()
boolean isOrdered()
boolean isPrimary()
Set<String> getExcluded()
Set<String> getValidators()
void setPath(String path) throws TypeException
TypeException
void setMultiple(boolean multiple)
void setAutoCreated(boolean autocreated)
void setMandatory(boolean mandatory)
void setOrdered(boolean isOrdered)
void addValidator(String validator)
void removeValidator(String validator)
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.