GigaSpaces XAP.NET Documentation
SpaceTypeDescriptorBuilder Class
Class LibraryGigaSpaces.Core.MetadataSpaceTypeDescriptorBuilder
A builder class for creating ISpaceTypeDescriptor instances. For example, to create a type descriptor with type name 'foo' and id property 'bar' use the following code:
  • CopyC#
    SpaceTypeDescriptorBuilder builder = new SpaceTypeDescriptorBuilder("foo");
  • CopyC#
    builder.IdProperty "bar";
  • CopyC#
    ISpaceTypeDescriptor typeDescriptor = builder.Create();
  • Declaration Syntax
    C#Visual BasicVisual C++J#
    public class SpaceTypeDescriptorBuilder
    Public Class SpaceTypeDescriptorBuilder
    public ref class SpaceTypeDescriptorBuilder
    public class SpaceTypeDescriptorBuilder
    Members
    All MembersConstructorsMethodsProperties



    IconMemberDescription
    SpaceTypeDescriptorBuilder(String)
    Initialize a type descriptor builder using the specified type name.

    SpaceTypeDescriptorBuilder(String, ISpaceTypeDescriptor)
    Initialize a type descriptor builder using the specified type name and base type descriptor.

    AddFixedProperty(ISpacePropertyDescriptor)
    Adds a property to the fixed properties set. SpacePropertyDescriptor

    AddFixedProperty(String, Type)
    Adds a property to the fixed properties set.

    AddFixedProperty(String, String)
    Adds a property to the fixed properties set.

    AddPathIndex(String)
    Adds an index with Basic type for the specified index.

    AddPathIndex(String, SpaceIndexType)
    Adds an index of the specified type for the specified path.

    AddPropertyIndex(String)
    Adds an index with Basic type for the specified property.

    AddPropertyIndex(String, SpaceIndexType)
    Adds an index of the specified type for the specified property.

    Create()()()
    Create the space type descriptor using the gathered information.

    DocumentWrapperType
    Sets the document wrapper class for this type. A document wrapper class is a .NET class which extends SpaceDocument and can be used as a surrogate for a specific type.

    DynamicPropertiesSupport(Boolean)
    Sets whether or not this type supports dynamic properties.

    DynamicPropertiesSupport(Boolean, StorageType)
    Sets whether or not this type supports dynamic properties.

    Equals(Object)
    Determines whether the specified Object is equal to the current Object.
    (Inherited from Object.)
    FifoSupport
    Sets this type FIFO support.

    Finalize()()()
    Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
    (Inherited from Object.)
    GetHashCode()()()
    Serves as a hash function for a particular type.
    (Inherited from Object.)
    GetType()()()
    Gets the Type of the current instance.
    (Inherited from Object.)
    MemberwiseClone()()()
    Creates a shallow copy of the current Object.
    (Inherited from Object.)
    Replicable
    Sets whether this type is replicable or not.

    SetIdProperty(String)
    Sets the ID property.

    SetIdProperty(String, Boolean)
    Sets the ID property.

    SetIdProperty(String, Boolean, SpaceIndexType)
    Sets the ID property.

    SetRoutingProperty(String)
    Sets the routing property.

    SetRoutingProperty(String, SpaceIndexType)
    Sets the routing property.

    SupportsOptimisticLocking
    Sets whether or not this type supports optimistic locking.

    ToString()()()
    Returns a String that represents the current Object.
    (Inherited from Object.)
    Inheritance Hierarchy
    Object
    SpaceTypeDescriptorBuilder

    Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 8.0.8.6380 (8.0.8.6380)