com.flexive.shared.cmis
Enum CmisVirtualProperty

java.lang.Object
  extended by java.lang.Enum<CmisVirtualProperty>
      extended by com.flexive.shared.cmis.CmisVirtualProperty
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CmisVirtualProperty>

public enum CmisVirtualProperty
extends java.lang.Enum<CmisVirtualProperty>

Disclaimer: this API is part of the CMIS interface and is not yet considered stable.

Definitions of CMIS property names (CMIS draft 0.62) and their mapping to [fleXive] properties, if available.

Since:
3.1
Version:
$Rev: 2906 $
Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Enum Constant Summary
AllowedChildObjectTypeIds
           
ChangeToken
           
CheckinComment
           
ContentStreamFilename
           
ContentStreamLength
           
ContentStreamMimeType
           
ContentStreamUri
           
CreatedBy
           
CreationDate
           
Id
           
IsImmutable
           
IsLatestMajorVersion
           
IsLatestVersion
           
IsMajorVersion
           
IsVersionSeriesCheckedOut
           
LastModificationDate
           
LastModifiedBy
           
Name
           
ParentId
           
TypeId
           
Uri
           
VersionLabel
           
VersionSeriesCheckedOutBy
           
VersionSeriesCheckedOutId
           
VersionSeriesId
           
 
Method Summary
static CmisVirtualProperty getByCmisName(java.lang.String cmisPropertyName)
          Returns the CmisVirtualProperty for the given property name, or null if none was found.
static CmisVirtualProperty getByFlexiveName(java.lang.String fxPropertyName)
          Returns the CmisVirtualProperty for the given [fleXive] property name, or null if none was found.
 java.lang.String getCmisPropertyName()
           
 java.lang.String getFxPropertyName()
           
 boolean isFxProperty()
           
 boolean isSupportsQuery()
           
 boolean isVirtualFxProperty()
           
static CmisVirtualProperty valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CmisVirtualProperty[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Id

public static final CmisVirtualProperty Id

Uri

public static final CmisVirtualProperty Uri

TypeId

public static final CmisVirtualProperty TypeId

CreatedBy

public static final CmisVirtualProperty CreatedBy

CreationDate

public static final CmisVirtualProperty CreationDate

LastModifiedBy

public static final CmisVirtualProperty LastModifiedBy

LastModificationDate

public static final CmisVirtualProperty LastModificationDate

ChangeToken

public static final CmisVirtualProperty ChangeToken

Name

public static final CmisVirtualProperty Name

IsImmutable

public static final CmisVirtualProperty IsImmutable

IsLatestVersion

public static final CmisVirtualProperty IsLatestVersion

IsMajorVersion

public static final CmisVirtualProperty IsMajorVersion

IsLatestMajorVersion

public static final CmisVirtualProperty IsLatestMajorVersion

VersionLabel

public static final CmisVirtualProperty VersionLabel

VersionSeriesId

public static final CmisVirtualProperty VersionSeriesId

IsVersionSeriesCheckedOut

public static final CmisVirtualProperty IsVersionSeriesCheckedOut

VersionSeriesCheckedOutBy

public static final CmisVirtualProperty VersionSeriesCheckedOutBy

VersionSeriesCheckedOutId

public static final CmisVirtualProperty VersionSeriesCheckedOutId

CheckinComment

public static final CmisVirtualProperty CheckinComment

ContentStreamLength

public static final CmisVirtualProperty ContentStreamLength

ContentStreamMimeType

public static final CmisVirtualProperty ContentStreamMimeType

ContentStreamFilename

public static final CmisVirtualProperty ContentStreamFilename

ContentStreamUri

public static final CmisVirtualProperty ContentStreamUri

ParentId

public static final CmisVirtualProperty ParentId

AllowedChildObjectTypeIds

public static final CmisVirtualProperty AllowedChildObjectTypeIds
Method Detail

values

public static CmisVirtualProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CmisVirtualProperty c : CmisVirtualProperty.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CmisVirtualProperty valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCmisPropertyName

public java.lang.String getCmisPropertyName()

getFxPropertyName

public java.lang.String getFxPropertyName()

isSupportsQuery

public boolean isSupportsQuery()

isFxProperty

public boolean isFxProperty()

isVirtualFxProperty

public boolean isVirtualFxProperty()

getByCmisName

public static CmisVirtualProperty getByCmisName(java.lang.String cmisPropertyName)
Returns the CmisVirtualProperty for the given property name, or null if none was found.

Parameters:
cmisPropertyName - the CMIS property name (e.g. "ObjectTypeId")
Returns:
the CmisVirtualProperty for the given property name, or null if none was found.

getByFlexiveName

public static CmisVirtualProperty getByFlexiveName(java.lang.String fxPropertyName)
Returns the CmisVirtualProperty for the given [fleXive] property name, or null if none was found.

Parameters:
fxPropertyName - the [fleXive] property name (e.g. "typdef")
Returns:
the CmisVirtualProperty for the given property name, or null if none was found.