1 /*global $k*/ 2 3 /** 4 * @class Represents a type of relations 5 * @extends $k.PropertyType 6 **/ 7 $k.RelationType = function() { }; 8 9 /** 10 * Returns the inverse relation type 11 * 12 * @function 13 * @returns {$k.RelationType} 14 **/ 15 $k.RelationType.prototype.inverseRelationType = function() { }; 16 17 /** 18 * Returns true if this is the main direction for the relation type. 19 * 20 * @function 21 * @returns {boolean} 22 **/ 23 $k.RelationType.prototype.isMainDirection = function() { }; 24 25 /** 26 * Returns true if this is a single sided relation type (i.e. only the main direction of the relation is stored in the volume). 27 * 28 * @function 29 * @returns {boolean} 30 **/ 31 $k.RelationType.prototype.isSingleSided = function() { }; 32 33 /** 34 * Returns true if this is a symmetric relation. 35 * 36 * @function 37 * @returns {boolean} 38 **/ 39 $k.RelationType.prototype.isSymmetric = function() { }; 40 41 /** 42 * Returns the possible ranges of the relation, which are the domains of the inverse relation 43 * 44 * @function 45 * @returns {$k.Domain[]} 46 **/ 47 $k.RelationType.prototype.ranges = function() { }; 48 49