@@ -0,0 +1,1678 @@
+/**%0A * Copyright Intellectual Reserve, Inc.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *   http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.familysearch.platform.artifacts;%0A%0Aimport com.webcohesion.enunciate.metadata.qname.XmlQNameEnum;%0A%0Aimport org.familysearch.platform.FamilySearchPlatform;%0Aimport org.gedcomx.common.URI;%0Aimport org.gedcomx.rt.ControlledVocabulary;%0Aimport org.gedcomx.rt.EnumURIMap;%0A%0A/**%0A * Enumeration of known artifact access permissions.%0A */%0A@XmlQNameEnum (%0A    base = XmlQNameEnum.BaseType.URI%0A)%0Apublic enum ArtifactAccessPermission implements ControlledVocabulary %7B%0A%0A  Allowed,%0A%0A  Denied;%0A%0A  private static final EnumURIMap%3CArtifactAccessPermission%3E URI_MAP =%0A      new EnumURIMap%3CArtifactAccessPermission%3E(ArtifactAccessPermission.class, FamilySearchPlatform.NAMESPACE);%0A%0A  /**%0A   * Return the QName value for this enum.%0A   *%0A   * @return The QName value for this enum.%0A   */%0A  public URI toQNameURI() %7B%0A    return URI_MAP.toURIValue(this);%0A  %7D%0A%0A  /**%0A   * Get the enumeration from the QName.%0A   *%0A   * @param qname The qname.%0A   * @return The enumeration.%0A   */%0A  public static ArtifactAccessPermission fromQNameURI(URI qname) %7B%0A    return URI_MAP.fromURIValue(qname);%0A  %7D%0A%0A%7D%0A%0A

add new controlled vocabulary for artifact access rights