Urn Urn Urn Class

Definition

Expresion used to identify one or more objects

[Serializable]
public class Urn
type Urn = class
Public Class Urn
Inheritance
Attributes
SerializableAttribute

Constructors

Urn() Urn() Urn()

default constructor

Urn(String) Urn(String) Urn(String)

initialize with string value

Properties

DomainInstanceName DomainInstanceName DomainInstanceName

Get domain instance name

Parent Parent Parent

the Urn without the last level

Type Type Type

the type of the object identified by the urn

Value Value Value

the urn expresion as string

XPathExpression XPathExpression XPathExpression

syntactical tree representation

Methods

Compare(Urn, Urn, CompareOptions[], CultureInfo) Compare(Urn, Urn, CompareOptions[], CultureInfo) Compare(Urn, Urn, CompareOptions[], CultureInfo)

comparares to Urns

Equals(Object) Equals(Object) Equals(Object)

Equals() and GetHashCode() are overriden by all instance classes because we need them to implement equality operators (== and !=)

EscapeString(String) EscapeString(String) EscapeString(String)

escape a string to make it suitable for use inside the XPATH expression

Fixed(Object) Fixed(Object) Fixed(Object)

true if the xpath points to only one object

GetAttribute(String) GetAttribute(String) GetAttribute(String)

get the property value from filter from the last level

GetAttribute(String, String) GetAttribute(String, String) GetAttribute(String, String)

get the property value from filter from the specified level

GetHashCode() GetHashCode() GetHashCode()

Returns hash code

GetNameForType(String) GetNameForType(String) GetNameForType(String)

get the @Name attribute from the filter of the specified level

IsValidUrn() IsValidUrn() IsValidUrn()

Verifies passed string is a valid Urn

IsValidUrnSkeleton() IsValidUrnSkeleton() IsValidUrnSkeleton()

Verifies passed string is a valid UrnSkeleton

ToString() ToString() ToString()

cast to String

UnEscapeString(String) UnEscapeString(String) UnEscapeString(String)

remove the escaping previously added to a string for insertion in the XPATH

Operators

Equality(Urn, Urn) Equality(Urn, Urn) Equality(Urn, Urn)

Urn equality operator

Implicit(Urn to String) Implicit(Urn to String) Implicit(Urn to String)

cast to String

Implicit(String to Urn) Implicit(String to Urn) Implicit(String to Urn)

cast from String

Inequality(Urn, Urn) Inequality(Urn, Urn) Inequality(Urn, Urn)

Urn unequal operator

Applies to