public class MetaClass extends BaseClass
PropertyClassProvider
implementations instead using the component manager.currentReferenceDocumentReferenceResolver, fields, fieldsToRemove, number, relativeEntityReferenceResolver
documentReference, 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, validateObject
addPropertyForRemoval, 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, toXMLString
createReference, getDocumentReference, getId, getLocalEntityReferenceSerializer, getLocalization, getLocalKey, getLocalUidStringEntityReferenceSerializer, getMergeManager, getOwnerDocument, getPrettyName, getXWikiContext, hashCode, localizePlain, localizePlainOrKey, setId, setPrettyName, toString, toXMLString
finalize, getClass, notify, notifyAll, wait, wait, wait
getXClass, toXML
getDocumentReference, setDocumentReference, toString
public MetaClass()
public void safeput(String name, PropertyInterface property)
safeput
in interface ObjectInterface
safeput
in class BaseCollection<DocumentReference>
public PropertyInterface safeget(String name)
safeget
in interface ObjectInterface
safeget
in class BaseCollection<DocumentReference>
public PropertyInterface get(String name)
get
in interface ObjectInterface
get
in class BaseClass
public void put(String name, PropertyInterface property)
put
in interface ObjectInterface
put
in class BaseClass
public static MetaClass getMetaClass()
public static void setMetaClass(MetaClass metaClass)
metaClass
- the cached instancepublic BaseCollection newObject(XWikiContext context)
Copyright © 2004–2021 XWiki. All rights reserved.