public class BuiltinTypeDescriptor extends JavaTypeDescriptor implements org.apache.wicket.model.IDetachable
Constructor and Description |
---|
BuiltinTypeDescriptor(String type,
ITypeLocator locator) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDefinition(String prefix,
javax.jcr.nodetype.ItemDefinition definition) |
void |
detach() |
Map<String,IFieldDescriptor> |
getDeclaredFields()
The map of fields that are declared in this type.
|
Map<String,IFieldDescriptor> |
getFields()
The map of fields that are declared in this type of any of its super types.
|
boolean |
isType(String typeName)
Returns true if this type is
typeName
or a subtype of typeName , otherwise returns
false . |
addField, checkMutable, getField, getName, getSubTypes, getSuperTypes, getType, isMixin, isMutable, isNode, isValidationCascaded, removeField, setIsMixin, setIsNode, setIsValidationCascaded, setMutable, setObservationContext, setPrimary, setSuperTypes, startObservation, stopObservation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public BuiltinTypeDescriptor(String type, ITypeLocator locator) throws StoreException
StoreException
protected void addDefinition(String prefix, javax.jcr.nodetype.ItemDefinition definition) throws StoreException
StoreException
public boolean isType(String typeName)
ITypeDescriptor
typeName
or a subtype of typeName
, otherwise returns
false
.isType
in interface ITypeDescriptor
isType
in class JavaTypeDescriptor
typeName
- the name of a node type.public Map<String,IFieldDescriptor> getDeclaredFields()
ITypeDescriptor
getDeclaredFields
in interface ITypeDescriptor
getDeclaredFields
in class JavaTypeDescriptor
public Map<String,IFieldDescriptor> getFields()
ITypeDescriptor
getFields
in interface ITypeDescriptor
getFields
in class JavaTypeDescriptor
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
detach
in class JavaTypeDescriptor
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.