1 15 package org.apache.hivemind.parse; 16 17 import org.apache.hivemind.definition.Occurances; 18 import org.apache.hivemind.definition.Visibility; 19 import org.apache.hivemind.schema.impl.SchemaImpl; 20 import org.apache.hivemind.util.ToStringBuilder; 21 22 28 public final class ConfigurationPointDescriptor extends BaseAnnotationHolder 29 { 30 private String _id; 31 32 private Occurances _count = Occurances.UNBOUNDED; 33 34 private SchemaImpl _contributionsSchema; 35 36 37 private String _contributionsSchemaId; 38 39 40 private Visibility _visibility = Visibility.PUBLIC; 41 42 45 private String _type; 46 47 public String toString() 48 { 49 ToStringBuilder builder = new ToStringBuilder(this); 50 51 builder.append("id", _id); 52 builder.append("count", _count); 53 builder.append("contributionsSchema", _contributionsSchema); 54 builder.append("contributionsSchemaId", _contributionsSchemaId); 55 builder.append("visibility", _visibility); 56 57 return builder.toString(); 58 } 59 60 public Occurances getCount() 61 { 62 return _count; 63 } 64 65 public void setCount(Occurances occurances) 66 { 67 _count = occurances; 68 } 69 70 public String getId() 71 { 72 return _id; 73 } 74 75 public void setId(String string) 76 { 77 _id = string; 78 } 79 80 public SchemaImpl getContributionsSchema() 81 { 82 return _contributionsSchema; 83 } 84 85 public void setContributionsSchema(SchemaImpl schema) 86 { 87 _contributionsSchema = schema; 88 } 89 90 91 public String getContributionsSchemaId() 92 { 93 return _contributionsSchemaId; 94 } 95 96 97 public void setContributionsSchemaId(String schemaId) 98 { 99 _contributionsSchemaId = schemaId; 100 } 101 102 105 public Visibility getVisibility() 106 { 107 return _visibility; 108 } 109 110 113 public void setVisibility(Visibility visibility) 114 { 115 _visibility = visibility; 116 } 117 118 public String getType() 119 { 120 return _type; 121 } 122 123 public void setType(String type) 124 { 125 _type = type; 126 } 127 } | Popular Tags |