OWLIndividual

Objective-C

@protocol OWLIndividual <OWLObject, OWLPropertyAssertionObject>

Swift

protocol OWLIndividual : OWLPropertyAssertionObject

Represents a named or anonymous individual.

  • Determines if this object is an instance of OWLAnonymousIndividual.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL anonymous;

    Swift

    var anonymous: Bool { get }
  • Determines if this object is an instance of OWLNamedIndividual.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL named;

    Swift

    var named: Bool { get }
  • Obtains this individual as a named individual if it is indeed named.

    Declaration

    Objective-C

    - (nullable id<OWLNamedIndividual>)asOWLNamedIndividual;

    Return Value

    The individual as a named individual, or nil if it is not named.