Class Class

    • Method Detail

      • getBaseClass

        protected BaseClass getBaseClass()
      • getDisabledObjectPropertyNames

        public List<String> getDisabledObjectPropertyNames​(Object object)
        Get the names of the class properties that are disabled, and exist in the given object. This list is a subset of all the disabled properties in a class, since the object could have been created and stored before some of the class properties were added.
        Parameters:
        object - the instance of this class where the disabled properties must exist
        Returns:
        a list of disabled property names
        Since:
        2.4M2
        See Also:
        getDisabledObjectProperties(Object), PropertyClass.isDisabled()
      • getDeprecatedObjectPropertyNames

        public List<String> getDeprecatedObjectPropertyNames​(Object object)
        Get the names of deprecated properties of the given object compared to the class. A deprecated property is a property which exists in the Object but doesn't exist anymore in the Class. This is used for synchronization of existing or imported Objects with respect to the modifications of their associated Class.
        Parameters:
        object - the instance of this class where to look for undefined properties
        Returns:
        a list of deprecated property names
        Since:
        2.4M2
        See Also:
        getDeprecatedObjectProperties(Object)
      • getDisabledObjectProperties

        public List<PropertyClass> getDisabledObjectProperties​(Object object)
        Get the list of disabled properties that exist in a given object. This list is a subset of all the disabled properties in a class, since the object could have been created and stored before some of the class properties were added.
        Parameters:
        object - the instance of this class where the disabled properties must exist
        Returns:
        a list containing the disabled properties of the given object
        Since:
        2.4M2
        See Also:
        PropertyClass.isDisabled(), getDisabledObjectPropertyNames(Object)
      • getDeprecatedObjectProperties

        public List<Property> getDeprecatedObjectProperties​(Object object)
        Retrieves deprecated properties of the given object compared to the class. A deprecated property is a property which exists in the Object but doesn't exist anymore in the Class. This is used for synchronization of existing or imported Objects with respect to the modifications of their associated Class.
        Parameters:
        object - the instance of this class where to look for undefined properties
        Returns:
        a list containing the properties of the object which don't exist in the class
        Since:
        2.4M2
        See Also:
        getDeprecatedObjectPropertyNames(Object)
      • get

        public Element get​(String name)
        Parameters:
        name - the name of the element
        Returns:
        the PropertyClass for the given name
        See Also:
        PropertyClass, Element
      • getXWikiClass

        public BaseClass getXWikiClass()
        Returns:
        the BaseClass (without the wrapping) if you have the programming right.