01: /*
02: * Created on 09-Jan-2006
03: */
04: package uk.org.ponder.beanutil.entity;
05:
06: /** Represents the locator for an "entity", probably provided by some ORM
07: * mapping solution. The ID field represents the ID of a particular INSTANCE
08: * of this Entity class, and entityname represents the nickname (entity name,
09: * bean path name) of this CLASS of entity. There is special support in RSF
10: * for rewriting elements of this type at top-level of a ViewParameters
11: * returned as ARIResult.resultingview.
12: * @author Antranig Basman (amb26@ponder.org.uk)
13: *
14: */
15:
16: public class EntityID {
17: public EntityID(String entityname, String ID) {
18: this .entityname = entityname;
19: this .ID = ID;
20: }
21:
22: public EntityID() {
23: }
24:
25: public String entityname;
26: // Will be parsed into correct class by BeanLocator
27: public String ID;
28: }
|