Interface EntitySchema

    • Method Detail

      • isAbstract

        @ISProperty(name="abstract",
                    mandatory=true)
        boolean isAbstract()
        Checks if the type is abstract.
        Specified by:
        isAbstract in interface Type
        Returns:
        true if the type is abstract, false otherwise.
      • getExtendedTypes

        @ISProperty(name="extendedTypes",
                    readonly=true,
                    mandatory=true)
        List<String> getExtendedTypes()
        Returns the types that this type extends.

        A List because the order carries meaning: it is the declaration order of the direct parents -- the local precedence order C3 linearization requires -- and it must survive serialization and persistence unchanged. A Set would map to an unordered store and lose it.

        Specified by:
        getExtendedTypes in interface Type
        Returns:
        The parent type names, in declaration order.