0
I Use This!
Activity Not Available

Project Summary

Simple automatic GUI generator for JavaBeans using annotations. Consists of one package modelling the JavaBean and one package for each type of GUI. Currently only one implementation for Swing is available.

Strings, lists and maps can also contain Enums and hits from database. The latter is configured with an entity class and a name column to display, an interface for fetching the entities must be created.

is created automatically out of:

@PropertyConfigurable
public class PropertyObject {

String stringWithoutDescription;
String mandatoryString;
String stringWithPossibleValues;
String stringContainingId;
String mandatoryStringContainingId;
boolean booleanWithDescription = false;
int integerWithTranslation;
Date date;
Map map = new HashMap();
Map mapKeyIsId = new HashMap();
Map mapKeyIsEnumValueIsId = new HashMap();
List list = new ArrayList();
(...more)

@Property
public String getStringWithoutDescription() {
return stringWithoutDescription;
}

public void setStringWithoutDescription(String stringWithoutDescription) {
this.stringWithoutDescription = stringWithoutDescription;
}

@Property(mandatory = true)
public String getMandatoryString() {
return mandatoryString;
}

public void setMandatoryString(String mandatoryString) {
this.mandatoryString = mandatoryString;
}

@Property
@PossibleValues(possibleValues = {"Value A", "Value B", "Value C"})
public String getStringWithPossibleValues() {
return stringWithPossibleValues;
}

public void setStringWithPossibleValues(String stringWithPossibleValues) {
this.stringWithPossibleValues = stringWithPossibleValues;
}

@Property
@ValueIsID(entity = "com.mawell.common.propertymapperswing.demo.ExampleEntity", nameField = "name")
public String getStringContainingId() {
return stringContainingId;
}

public void setStringContainingId(String stringContainingId) {
this.stringContainingId = stringContainingId;
}

@Property(mandatory = true)
@ValueIsID(entity = "com.mawell.common.propertymapperswing.demo.ExampleEntity", nameField = "name")
public String getMandatoryStringContainingId() {
return mandatoryStringContainingId;
}

public void setMandatoryStringContainingId(String mandatoryStringContainingId) {
this.mandatoryStringContainingId = mandatoryStringContainingId;
}

@Property(description = "Boolean with description string")
public boolean isBooleanWithDescription() {
return booleanWithDescription;
}

public void setBooleanWithDescription(boolean booleanWithDescription) {
this.booleanWithDescription = booleanWithDescription;
}

@Property(descriptionMethodName = "getIntegerLabel")
public int getIntegerWithTranslation() {
return integerWithTranslation;
}

public void setIntegerWithTranslation(int integerWithTranslation) {
this.integerWithTranslation = integerWithTranslation;
}

@Property
public Date getDate() {
return date;
}

public void setDate(Date date) {
this.date = date;
}

@Property
public Map getMap() {
return map;
}

public void setMap(Map map) {
this.map = map;
}

@Property
@KeyIsID(entity = "com.mawell.common.propertymapperswing.demo.ExampleEntity", nameField = "name")
public Map getMapKeyIsId() {
return mapKeyIsId;
}

public void setMapKeyIsId(Map mapKeyIsId) {
this.mapKeyIsId = mapKeyIsId;
}

@Property
@KeyIsEnum(enumClass = "com.mawell.common.propertymapperswing.demo.ExampleEnum")
@ValueIsID(entity = "com.mawell.common.propertymapperswing.demo.ExampleEntity", nameField = "name")
public Map getMapKeyIsEnumValueIsId() {
return mapKeyIsEnumValueIsId;
}

public void setMapKeyIsEnumValueIsId(Map mapKeyIsEnumValueIsId) {
this.mapKeyIsEnumValueIsId = mapKeyIsEnumValueIsId;
}

@Property
public List getList() {
return list;
}

public void setList(List list) {
this.list = list;
}
(...more)
}

Tags

annotations automation generator gui java swing

In a Nutshell, propertymapper...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

GNU Library or "Lesser" GPL (LGPL)
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Use Patent Claims

Forbidden

Sub-License

Hold Liable

Required

Include Copyright

Include License

Distribute Original

Disclose Source

State Changes

Include Install Instructions

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    search using multiple tags to find exactly what you need
  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    you can embed statistics from Open Hub on your site

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis