Class ResourceSchemaImpl

    • Field Detail

      • consistsOf

        protected List<LinkedEntity> consistsOf
        The ConsistsOf constraints of the resource type, empty when it declares none.
      • isRelatedTo

        protected List<LinkedEntity> isRelatedTo
        The IsRelatedTo constraints of the resource type, empty when it declares none.
    • Constructor Detail

      • ResourceSchemaImpl

        protected ResourceSchemaImpl()
        Default constructor.
      • ResourceSchemaImpl

        public ResourceSchemaImpl​(String name)
        Constructs a new ResourceSchemaImpl with the given type name.
        Parameters:
        name - The type name.
      • ResourceSchemaImpl

        public ResourceSchemaImpl​(Class<? extends Resource> clz)
        Constructs a new ResourceSchemaImpl from a class.
        Parameters:
        clz - The class.