public class MetaClass extends BaseClass
PropertyClassProvider implementations instead using the component manager.currentReferenceDocumentReferenceResolver, fields, fieldsToRemove, number, relativeEntityReferenceResolverdocumentReference, ownerDocument, referenceCache| Constructor and Description |
|---|
MetaClass()
Creates a new instance that has a property for each available property type.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyInterface |
get(String name) |
static MetaClass |
getMetaClass() |
BaseCollection |
newObject(XWikiContext context) |
void |
put(String name,
PropertyInterface property) |
PropertyInterface |
safeget(String name) |
void |
safeput(String name,
PropertyInterface property) |
static void |
setMetaClass(MetaClass metaClass)
Sets the cached instance of this class.
|
addBooleanField, addBooleanField, addBooleanField, addBooleanField, addDateField, addDateField, addDateField, addDBListField, addDBListField, addDBListField, addDBTreeListField, addDBTreeListField, addDBTreeListField, addEmailField, addField, addGroupsField, addGroupsField, addLevelsField, addLevelsField, addNumberField, addPageField, addPageField, addPageField, addPageField, addPasswordField, addPasswordField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addTemplateField, addTextAreaField, addTextAreaField, addTextAreaField, addTextAreaField, addTextAreaField, addTextAreaField, addTextField, addTimezoneField, addUsersField, addUsersField, addUsersField, addUsersField, apply, clone, disableField, enableField, equals, flushCache, fromMap, fromMap, fromString, fromValueMap, fromXML, fromXML, getCustomClass, getCustomMapping, getCustomMappingPropertyList, getDefaultEditSheet, getDefaultViewSheet, getDefaultWeb, getDeprecatedObjectProperties, getDiff, getDisabledObjectProperties, getDisabledProperties, getEnabledProperties, getName, getNameField, getReference, getValidationScript, hasCustomMapping, hasExternalCustomMapping, hasInternalCustomMapping, isCustomMappingValid, isCustomMappingValid, merge, merge, newCustomClassInstance, newCustomClassInstance, newCustomClassInstance, newCustomClassInstance, newCustomClassInstance, setCustomClass, setCustomMapping, setDefaultEditSheet, setDefaultViewSheet, setDefaultWeb, setDirty, setName, setNameField, setOwnerDocument, setValidationScript, validateObjectaddPropertyForRemoval, getClassName, getCurrentReferenceDocumentReferenceResolver, getCustomMappingMap, getDateValue, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getNumber, getProperties, getPropertyList, getPropertyNames, getRelativeEntityReferenceResolver, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClass, getXClassReference, merge, mergeField, removeField, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setNumber, setSetValue, setStringListValue, setStringValue, setXClassReference, toXML, toXML, toXMLStringcreateReference, getDocumentReference, getId, getLocalEntityReferenceSerializer, getLocalization, getLocalKey, getLocalUidStringEntityReferenceSerializer, getMergeManager, getOwnerDocument, getPrettyName, getXWikiContext, hashCode, localizePlain, localizePlainOrKey, setId, setPrettyName, toString, toXMLStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetXClass, toXMLgetDocumentReference, setDocumentReference, toStringpublic MetaClass()
public void safeput(String name, PropertyInterface property)
safeput in interface ObjectInterfacesafeput in class BaseCollection<DocumentReference>public PropertyInterface safeget(String name)
safeget in interface ObjectInterfacesafeget in class BaseCollection<DocumentReference>public PropertyInterface get(String name)
get in interface ObjectInterfaceget in class BaseClasspublic void put(String name, PropertyInterface property)
put in interface ObjectInterfaceput in class BaseClasspublic static MetaClass getMetaClass()
public static void setMetaClass(MetaClass metaClass)
metaClass - the cached instancepublic BaseCollection newObject(XWikiContext context)
Copyright © 2004–2021 XWiki. All rights reserved.