Interface ResourceSchema

    • Method Detail

      • getProperties

        List<PropertyDefinition> getProperties()
        Returns the properties defined by this type.

        A List because the order carries meaning: properties are read in the order the Java class declares them, which is the intended reading order for anyone looking at the type definition. A Set would map to an unordered store and lose it.

        A Resource holds no property of its own: properties is not a member of a Resource type definition, which neither writes it nor reads it.

        Specified by:
        getProperties in interface Type
        Returns:
        always null.