1 /*global $k*/ 2 3 /** 4 * @class Represents all instances or subtypes of a type 5 **/ 6 $k.Domain = function() { }; 7 8 /** 9 * Returns the properties defined for this domain. No inherited or mixed in properties are returned. 10 * 11 * @function 12 * @returns {$k.PropertyType[]} 13 **/ 14 $k.Domain.prototype.definedProperties = function() { }; 15 16 /** 17 * Returns true if this domain represents types, false if it represents instances / properties 18 * 19 * @function 20 * @returns {boolean} 21 **/ 22 $k.Domain.prototype.isTypeDomain = function() { }; 23 24 /** 25 * Returns the possible properties of this domain 26 * 27 * @function 28 * @see Topic#possibleProperties 29 * @param {$k.PropertyFilter} [filter] Filter that defines which properties are returned 30 * @returns {$k.PropertyType[]} 31 **/ 32 $k.Domain.prototype.possibleProperties = function(filter) { }; 33 34 /** 35 * Returns the type of the domain 36 * 37 * @function 38 * @returns {$k.Type} 39 **/ 40 $k.Domain.prototype.type = function() { }; 41 42