| 1 |
package ezvcard.parameter; |
| 2 |
|
| 3 |
import java.util.Collection; |
| 4 |
|
| 5 |
import ezvcard.property.Related; |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
public class RelatedType extends VCardParameter { |
| 44 |
private static final VCardParameterCaseClasses<RelatedType> enums = new VCardParameterCaseClasses<>(RelatedType.class); |
| 45 |
|
| 46 |
public static final RelatedType ACQUAINTANCE = new RelatedType("acquaintance"); |
| 47 |
public static final RelatedType AGENT = new RelatedType("agent"); |
| 48 |
public static final RelatedType CHILD = new RelatedType("child"); |
| 49 |
public static final RelatedType CO_RESIDENT = new RelatedType("co-resident"); |
| 50 |
public static final RelatedType CO_WORKER = new RelatedType("co-worker"); |
| 51 |
public static final RelatedType COLLEAGUE = new RelatedType("colleague"); |
| 52 |
public static final RelatedType CONTACT = new RelatedType("contact"); |
| 53 |
public static final RelatedType CRUSH = new RelatedType("crush"); |
| 54 |
public static final RelatedType DATE = new RelatedType("date"); |
| 55 |
public static final RelatedType EMERGENCY = new RelatedType("emergency"); |
| 56 |
public static final RelatedType FRIEND = new RelatedType("friend"); |
| 57 |
public static final RelatedType KIN = new RelatedType("kin"); |
| 58 |
public static final RelatedType ME = new RelatedType("me"); |
| 59 |
public static final RelatedType MET = new RelatedType("met"); |
| 60 |
public static final RelatedType MUSE = new RelatedType("muse"); |
| 61 |
public static final RelatedType NEIGHBOR = new RelatedType("neighbor"); |
| 62 |
public static final RelatedType PARENT = new RelatedType("parent"); |
| 63 |
public static final RelatedType SIBLING = new RelatedType("sibling"); |
| 64 |
public static final RelatedType SPOUSE = new RelatedType("spouse"); |
| 65 |
public static final RelatedType SWEETHEART = new RelatedType("sweetheart"); |
| 66 |
|
| 67 |
private RelatedType(String value) { |
| 68 |
super(value); |
| 69 |
} |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
public static RelatedType find(String value) { |
| 78 |
return enums.find(value); |
| 79 |
} |
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
public static RelatedType get(String value) { |
| 89 |
return enums.get(value); |
| 90 |
} |
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
public static Collection<RelatedType> all() { |
| 98 |
return enums.all(); |
| 99 |
} |
| 100 |
} |