1 package xuml.tools.model.compiler.info; 2 3 public class MyIdAttribute { 4 private final String fieldName; 5 private final String columnName; 6 private final String referenceClass; 7 private final String referenceColumnName; 8 private final MyTypeDefinition type; 9 private final String attributeName; 10 private final MyAttributeExtensions extensions; 11 12 public String getAttributeName() { 13 return attributeName; 14 } 15 16 public MyIdAttribute(String attributeName, String fieldName, String columnName, 17 String referenceClass, String referenceColumnName, MyTypeDefinition type, 18 MyAttributeExtensions extensions) { 19 this.attributeName = attributeName; 20 this.fieldName = fieldName; 21 this.columnName = columnName; 22 this.referenceClass = referenceClass; 23 this.referenceColumnName = referenceColumnName; 24 this.type = type; 25 this.extensions = extensions; 26 } 27 28 public MyIdAttribute(String attributeName, String fieldName, String columnName, 29 MyTypeDefinition type, MyAttributeExtensions extensions) { 30 this(attributeName, fieldName, columnName, null, null, type, extensions); 31 } 32 33 public String getFieldName() { 34 return fieldName; 35 } 36 37 public String getColumnName() { 38 return columnName; 39 } 40 41 public String getReferenceClass() { 42 return referenceClass; 43 } 44 45 public String getReferenceColumnName() { 46 return referenceColumnName; 47 } 48 49 public MyTypeDefinition getType() { 50 return type; 51 } 52 53 public MyAttributeExtensions getExtensions() { 54 return extensions; 55 } 56 57 }