Class ResourceRepresentation

    • Constructor Detail

      • ResourceRepresentation

        public ResourceRepresentation​(String name,
                                      Set<ScopeRepresentation> scopes,
                                      Set<String> uris,
                                      String type,
                                      String iconUri)
        Creates a new instance.
        Parameters:
        name - a human-readable string describing a set of one or more resources
        uris - a List of URI that provides network locations for the resource set being registered
        type - a string uniquely identifying the semantics of the resource set
        scopes - the available scopes for this resource set
        iconUri - a URI for a graphic icon representing the resource set
      • ResourceRepresentation

        public ResourceRepresentation​(String name,
                                      Set<ScopeRepresentation> scopes,
                                      Set<String> uris,
                                      String type)
        Creates a new instance.
        Parameters:
        name - a human-readable string describing a set of one or more resources
        uris - a List of URI that provides the network location for the resource set being registered
        type - a string uniquely identifying the semantics of the resource set
        scopes - the available scopes for this resource set
      • ResourceRepresentation

        public ResourceRepresentation​(String name,
                                      Set<ScopeRepresentation> scopes)
        Creates a new instance.
        Parameters:
        name - a human-readable string describing a set of one or more resources
        serverUri - a URI that identifies this resource server
        scopes - the available scopes for this resource set
      • ResourceRepresentation

        public ResourceRepresentation​(String name,
                                      String... scopes)
      • ResourceRepresentation

        public ResourceRepresentation()
        Creates a new instance.