src/solid/index-registration.js
/**
 * Represents a Solid Index registration (an entry in the Type Index Registry).
 * Returned in a list by `profile.typeRegistryForClass()`
 * @class IndexRegistration
 * @constructor
 * @param registrationUri {String} Absolute URI (with fragment identifier) of
 *   the registration (its location in the type index)
 * @param rdfClass {rdf.NamedNode} RDF Class for this registration
 * @param locationType {String} One of 'instance' or 'container'
 * @param locationUri {String} URI of the location containing resources of this
 *   type
 * @param isListed {Boolean} Is this registration in a listed or unlisted index
 */
Represents a Solid Index registration (an entry in the Type Index Registry).
Represents a Solid Index registration ( an entry in the Type Index Registry ) .
function IndexRegistration (registrationUri, rdfClass, locationType,
                            locationUri, isListed) {
  this.isListed = isListed
  this.locationType = locationType
  this.locationUri = locationUri
  this.rdfClass = rdfClass
  this.registrationUri = registrationUri
}
function IndexRegistration ( registrationUri , rdfClass , locationType , locationUri , isListed ) { this . isListed = isListed this . locationType = locationType this . locationUri = locationUri this . rdfClass = rdfClass this . registrationUri = registrationUri }
Represents a Solid Index registration (an entry in the Type Index Registry).
Represents a Solid Index registration ( an entry in the Type Index Registry ) .
/**
   * Is this a listed or unlisted registration
   * @property isListed
   * @type Boolean
   */ /**
   * Location type, one of 'instance' or 'container'
   * @property locationType
   * @type String
   */ /**
   * URI of the solid instance or container that holds resources of this type
   * @property locationUri
   * @type String
   */ /**
   * RDF Class for this registration
   * @property rdfClass
   * @type rdf.NamedNode
   */ /**
   * Absolute URI (with fragment identifier) of the registration
   * @property registrationUri
   * @type String
   */