Class $k.Domain

Represents all instances or subtypes of a type

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Class Detail

$k.Domain()

Method Detail

  • {$k.PropertyType[]} definedProperties()
    Returns the properties defined for this domain. No inherited or mixed in properties are returned.
    Returns:
    {$k.PropertyType[]}
  • {boolean} isTypeDomain()
    Returns true if this domain represents types, false if it represents instances / properties
    Returns:
    {boolean}
  • {$k.PropertyType[]} possibleProperties(filter)
    Returns the possible properties of this domain
    Parameters:
    {$k.PropertyFilter} filter Optional
    Filter that defines which properties are returned
    Returns:
    {$k.PropertyType[]}
    See:
    Topic#possibleProperties
  • {$k.Type} type()
    Returns the type of the domain
    Returns:
    {$k.Type}