private String uri;
private String name;
+ private String label;
private Type type;
private boolean code = false;
private boolean variable = false;
+ private boolean modifiable = false;
private boolean sizeChange = false;
+ private boolean rotated = false;
public Item(String type, String name) {
this.name = name;
}
-
+ public Item(String type, String name, String label) {
+ this.uri = type;
+ this.name = name;
+ this.label = label;
+ }
public String getUri() {
return uri;
this.variable = variable;
}
+ public boolean isModifiable() {
+ return modifiable;
+ }
+
+ public void setModifiable(boolean modifiable) {
+ this.modifiable = modifiable;
+ }
+
public boolean isSizeChange() {
return sizeChange;
}
public void setSizeChange(boolean sizeChange) {
this.sizeChange = sizeChange;
}
-
+
+ public boolean isRotated() {
+ return rotated;
+ }
+
+ public void setRotated(boolean rotated) {
+ this.rotated = rotated;
+ }
@Override
return uri.hashCode();
}
+ public String getLabel() {
+ return label;
+ }
}