mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
76 lines
2.2 KiB
Java
Executable File
76 lines
2.2 KiB
Java
Executable File
|
|
package org.alfresco.repo.cmis.ws;
|
|
|
|
import javax.xml.bind.annotation.XmlEnum;
|
|
import javax.xml.bind.annotation.XmlEnumValue;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
|
|
|
|
/**
|
|
* <p>Java class for enumPropertiesRelationship.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
* <p>
|
|
* <pre>
|
|
* <simpleType name="enumPropertiesRelationship">
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
* <enumeration value="ObjectId"/>
|
|
* <enumeration value="Uri"/>
|
|
* <enumeration value="ObjectTypeId"/>
|
|
* <enumeration value="CreatedBy"/>
|
|
* <enumeration value="CreationDate"/>
|
|
* <enumeration value="LastModifiedBy"/>
|
|
* <enumeration value="LastModificationDate"/>
|
|
* <enumeration value="ChangeToken"/>
|
|
* <enumeration value="SourceId"/>
|
|
* <enumeration value="TargetId"/>
|
|
* </restriction>
|
|
* </simpleType>
|
|
* </pre>
|
|
*
|
|
*/
|
|
@XmlType(name = "enumPropertiesRelationship")
|
|
@XmlEnum
|
|
public enum EnumPropertiesRelationship {
|
|
|
|
@XmlEnumValue("ObjectId")
|
|
OBJECT_ID("ObjectId"),
|
|
@XmlEnumValue("Uri")
|
|
URI("Uri"),
|
|
@XmlEnumValue("ObjectTypeId")
|
|
OBJECT_TYPE_ID("ObjectTypeId"),
|
|
@XmlEnumValue("CreatedBy")
|
|
CREATED_BY("CreatedBy"),
|
|
@XmlEnumValue("CreationDate")
|
|
CREATION_DATE("CreationDate"),
|
|
@XmlEnumValue("LastModifiedBy")
|
|
LAST_MODIFIED_BY("LastModifiedBy"),
|
|
@XmlEnumValue("LastModificationDate")
|
|
LAST_MODIFICATION_DATE("LastModificationDate"),
|
|
@XmlEnumValue("ChangeToken")
|
|
CHANGE_TOKEN("ChangeToken"),
|
|
@XmlEnumValue("SourceId")
|
|
SOURCE_ID("SourceId"),
|
|
@XmlEnumValue("TargetId")
|
|
TARGET_ID("TargetId");
|
|
private final String value;
|
|
|
|
EnumPropertiesRelationship(String v) {
|
|
value = v;
|
|
}
|
|
|
|
public String value() {
|
|
return value;
|
|
}
|
|
|
|
public static EnumPropertiesRelationship fromValue(String v) {
|
|
for (EnumPropertiesRelationship c: EnumPropertiesRelationship.values()) {
|
|
if (c.value.equals(v)) {
|
|
return c;
|
|
}
|
|
}
|
|
throw new IllegalArgumentException(v);
|
|
}
|
|
|
|
}
|