You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.5 KiB
72 lines
1.5 KiB
package de.memtext.db; |
|
|
|
import de.memtext.baseobjects.NamedIdObject; |
|
/** |
|
* Beschreibt eine (zusätzliche) in der Datenbank hinterlegt Eigenschaft. |
|
* (z.B. Accident meister) |
|
*/ |
|
public class PropDescriptor extends NamedIdObject { |
|
//wie heißt die Spalte in der DB |
|
private String colname; |
|
//bei Combobox sql für quelle select key,name from xx |
|
private String quelle; |
|
//soll auf dem Bildschirm sichtbar sein |
|
private boolean isVisible; |
|
|
|
private String defaultkey; |
|
private int sortnr; |
|
|
|
|
|
public PropDescriptor() { |
|
|
|
} |
|
|
|
public PropDescriptor(Object id, String name) { |
|
super(id,name); |
|
} |
|
|
|
public String getColname() { |
|
return colname; |
|
} |
|
|
|
public void setColname(String colname) { |
|
this.colname = colname; |
|
} |
|
|
|
public String getDefaultkey() { |
|
return defaultkey; |
|
} |
|
|
|
public void setDefaultkey(String defaultkey) { |
|
this.defaultkey = defaultkey; |
|
} |
|
|
|
public boolean isVisible() { |
|
return isVisible; |
|
} |
|
|
|
public void setVisible(boolean isVisible) { |
|
this.isVisible = isVisible; |
|
} |
|
|
|
public String getQuelle() { |
|
return quelle; |
|
} |
|
|
|
public void setQuelle(String quelle) { |
|
this.quelle = quelle; |
|
} |
|
|
|
public int getSortnr() { |
|
return sortnr; |
|
} |
|
public void setSortnr(int sortnr) { |
|
this.sortnr = sortnr; |
|
} |
|
public String toString() |
|
{ |
|
return getName(); |
|
} |
|
} |
|
|
|
//Created on 17.05.2005 at 10:17:03
|
|
|