OWLRDFTerm

Objective-C

@interface OWLRDFTerm : NSObject

Swift

class OWLRDFTerm : NSObject

Represents a term in the OWL RDF vocabulary.

  • IRI

    The IRI of this term.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) OWLIRI *_Nonnull IRI;

    Swift

    @NSCopying var iri: OWLIRI { get }
  • The namespace of this term.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) OWLNamespace *_Nonnull nameSpace;

    Swift

    @NSCopying var nameSpace: OWLNamespace { get }
  • The short name of this term.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull shortName;

    Swift

    var shortName: String { get }
  • The designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNameSpace:(nonnull OWLNamespace *)nameSpace
                                    shortName:(nonnull NSString *)shortName;

    Swift

    init(nameSpace: OWLNamespace, shortName: String)
  • Returns the concatenation of the namespace and short name of this term.

    Declaration

    Objective-C

    - (nonnull NSString *)stringValue;

    Swift

    func stringValue() -> String

    Return Value

    The string representation of this term.