Grooper.CMIS.CmisPropertyDefinition

A CMIS property definition provides information about a property of a CMIS content type.


Inherits from: Grooper.GrooperObject

Constructors

Signature Description
New (pd As IPropertyDefinition)
Parameters
pd
          Type: IPropertyDefinition
          

Fields

Field Name Field Type Description
pd As PortCMIS.Data.IPropertyDefinition PortCMIS.Data.IPropertyDefinition

Properties

Property Name Property Type Description
Cardinality System.Nullable(Of T) Indicates whether the property is single instance or multiple instance.
Description System.String The description of this property.
DisplayName System.String The display name used by applications for this property.
Id System.String The unique ID used for identifying this object in the CMIS repository.
IsChoice System.Boolean Indicates whether the property is single instance or multiple instance.
IsEmpty System.Boolean Returns true if all properties with a ViewableAttribute are set to their default value.
IsInherited System.Nullable(Of T) Indicates whether the property is defined by this type, or inherited from a base content type.
IsOpenChoice System.Nullable(Of T) Indicates whether a choice-based property can accept values other than those in the list of choices.
IsOrderable System.Nullable(Of T) Indicates whether this property's Query Name may be used in the ORDER BY clause of a CMIS query.
IsQueryable System.Nullable(Of T) Indicates whether this property's Query Name be used in the WHERE clause of a CMIS query.
IsRequired System.Nullable(Of T) Indicates whether the property is required to have a value.
IsWriteable System.Boolean Returns true if the object is writable, or false if it is not.
LocalName System.String The name used to identify this property in the repository.
LocalNamespace System.String The local namespace used by the repository for this item.
PropertyType PortCMIS.Enums.PropertyType The type of data which can be stored in the property.Can be one of the following values:
  • Boolean: Boolean.
  • Id: ID.
  • Integer: Integer.
  • DateTime: DateTime.
  • Decimal: Decimal.
  • Html: HTML.
  • String: String.
  • Uri: URI.
QueryName System.String The name used to identify this property in queries.
Updatability System.Nullable(Of T) Indicates whether the value of the property can be updated.

Methods

Method Name Description
FromCmis(pd As IPropertyDefinition) As CmisPropertyDefinition
Parameters
pd
          Type: IPropertyDefinition
          
GetProperties() As PropertyDescriptorCollection
IsPropertyEnabled(PropertyName As String) As Nullable(Of Boolean) Defines whether a property is currently enabled.
Parameters
PropertyName
          Type: String
          The name of the property to determine the enabled state for.
IsPropertyVisible(PropertyName As String) As Nullable(Of Boolean) Defines whether a property is currently visible.
Parameters
PropertyName
          Type: String
          The name of the property to determine the visible state for.
IsType(Type As Type) As Boolean Returns true if the object is of the type specified, or if it derives from the type specfied.
Parameters
Type
          Type: Type
          The type to check.
ToString() As String
ValidateProperties() As ValidationErrorList Validates the properties of the object, returning a list of validation errors.