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 Basic | Visual C++ | J# |
public class SpaceTypeDescriptorBuilder
Public Class SpaceTypeDescriptorBuilder
public ref class SpaceTypeDescriptorBuilder
public class SpaceTypeDescriptorBuilder
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
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.
| |
AddCompoundIndex(ICollection<(Of <(String>)>)) |
Adds a compound index with the paths which specifies the index segments.
| |
AddCompoundIndex(ICollection<(Of <(String>)>), Boolean) |
Adds a compound index with the paths which specifies the index segments.
| |
AddFifoGroupingIndex(String) |
Adds a fifo grouping index for the specified path.
| |
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.
| |
AddPathIndex(String, SpaceIndexType, Boolean) |
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.
| |
AddPropertyIndex(String, SpaceIndexType, Boolean) |
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) | (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.
| |
SetFifoGroupingProperty(String) |
Sets the fifo grouping property.
| |
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()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |
SpaceTypeDescriptorBuilder |