001/*
002 * Copyright 2024 Global Biodiversity Information Facility (GBIF)
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.gbif.dwc.terms;
017
018import java.io.Serializable;
019import java.net.URI;
020
021/**
022 * All Adobe Photoshop terms with namespace http://ns.adobe.com/photoshop/1.0/.
023 */
024public enum PhotoshopTerm implements Term, AlternativeNames, Serializable {
025  Credit;
026
027  private static final String PREFIX = "photoshop";
028  private static final String NS = "http://ns.adobe.com/photoshop/1.0/";
029  private static final URI NS_URI = URI.create(NS);
030  public final String[] alternatives;
031
032  @Override
033  public String toString() {
034    return prefixedName();
035  }
036
037  @Override
038  public String simpleName() {
039    return name();
040  }
041
042  @Override
043  public String[] alternativeNames() {
044    return alternatives;
045  }
046
047  @Override
048  public boolean isClass() {
049    return false;
050  }
051
052  @Override
053  public String prefix() {
054    return PREFIX;
055  }
056
057  @Override
058  public URI namespace() {
059    return NS_URI;
060  }
061
062  PhotoshopTerm(String... alternatives) {
063    this.alternatives = alternatives;
064  }
065}