input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void add user property string property name object property value args put property name property value | adds a user property |
public object get user property string property name return args get property name | gets a user property |
public boolean is empty boolean empty false if args size 0 empty true return empty | checks if there are user properties |
public int size return args size | returns the number of user properties |
public void set context view view context view this context view context view | sets the context view |
public void set model imodel model this model model | sets the domain model |
public view get context view return context view | gets the context view |
public void set generic context boolean generic context this generic context generic context | sets if the context is generic |
public imodel get model return model | gets the domain model |
public void set context view model view model context view model this context view model context view model | sets the context view model |
public boolean is generic context return generic context | checks if the context is generic |
public view model get context view model return context view model | gets the context view model |
public void set recreate context boolean recreate context this recreate context recreate context | sets if the context page should be recreated |
public boolean is recreate context return recreate context | checks if the context page will be recreated |
public void set wicket id string wicket id this wicket id wicket id | sets a wicket id |
public void set entity ientity entity this entity entity | sets an entity |
public page get page final page web page class page class web page get class return get page page class | gets a web page |
public ientity get entity return entity | gets an entity |
public void set update entity ientity update entity this update entity update entity | sets an update entity |
public ientity get update entity return update entity | gets an update entity |
public page get page final class page class page result null try constructor constructor get constructor page class result web page get instance constructor catch exception e log error problem with view meta get page class page class get name e get message return result | gets a web page |
public void set property config property config property config this property config property config | sets a property configuration |
public void set page block integer page block this page block page block | sets a page block |
public property config get property config return property config | gets a property configuration |
public integer get page block return page block | gets a page block |
public void set user properties user properties user properties this user properties user properties | sets user defined properties |
public user properties get user properties return user properties | gets user defined properties |
private void copy properties from view model another view model set model another view model get model set context view model another view model get context view model set entities another view model get entities set action another view model get action set entity another view model get entity set update entity another view model get update entity set property config another view model get property config set lookup entities another view model get lookup entities | copies properties from another view model to this view model |
private void copy properties from view another view set app another view get app set locale another view get locale set context view another view get context view set generic context another view is generic context set recreate context another view is recreate context set page another view get page set page block another view get page block set update another view is update set title another view get title | copies properties from another view to this view |
private void copy user properties view model another view model set user properties another view model get user properties | copies user properties from another view model to this view mode |
private void copy user properties view another view set user properties another view get user properties | copies user properties from another view to this view |
public string get entity code string code null if entity null code entity get concept config get code return code | gets entity code |
public void set property code string property code if property code null set property config null else if get property config null concept config concept config null if get entities null concept config get entities get concept config else if get entity null concept config get entity get concept config if concept config null property config property config concept config get properties config get property config property code if property config null set property config property config | sets a property code |
public string get property code string code null if property config null code property config get code return code | gets property code |
public void set empty attribute string attribute name string attribute value attribute modifier attribute modifier new attribute modifier attribute name true new model attribute value empty link add attribute modifier | sets an empty link attribute |
protected boolean want on selection changed notifications return true | to force a server makes a roundtrip on each selection change |
public void empty text field string empty new string 1 empty 0 text field set model value empty | empties the text field |
public class get home page class return get home page class home page | gets the home page class |
public class get signin page class return get signin page class signin page | gets the sign in page class |
public class get home page return get home page class | gets the application home page class |
public page get home page page page home page get view meta get home page return home page | gets the application home page |
public class get home page class class home page class get view meta get home page class return home page class | gets the application home page class |
public class get signin page class class signin page class get view meta get signin page class return signin page class | gets the application sign in page class |
public page get home page class home page class get home page class return dm page get instance home page class | gets the home page |
public page get signin page page signin page get view meta get signin page return signin page | gets the application sign in page |
public domain page get domain page return new domain page | gets the application domain page |
public ipersistent domain get persistent domain return persistent domain | gets the persistent domain |
public void save try persistent domain save catch persistency exception e log error error in domain app save e get message | saves the application models if they are not configured for the default |
public void finalize save persistent domain close | saves the application models then closes them |
public page get signin page class signin page class get signin page class return dm page get instance signin page class | gets the sign in page |
public idomain get domain return domain | gets the domain |
public view meta get view meta string model code view meta set model code model code return view meta | gets the view meta handling |
public access point get access point return access point | gets the access point |
protected isession factory get session factory return new isession factory public session new session return new app session domain app this | from javadoc wicket |
public panel get home page menu panel final string wicket id return get home page menu panel home page menu panel wicket id | gets the home page menu panel |
public void on selection changed object new selection try string selected language string new selection change locale selected language set response page view get app get home page catch exception e log error error in country language choice panel country language choice on selection changed e get message | to change locale |
public panel get signin panel final view model view model final view view return get signin panel signin panel view model view | gets the sign in panel |
public class get home page class final string class simple name class result null try string class name domain wicket home package code class simple name result get class class name if result null class name dmlite wicket home class simple name result get class class name catch exception e log error problem with view meta get home page class class simple name e get message return result | gets a home page class |
public class get signin page class final string class simple name class result null try string class name domain wicket security package code class simple name result get class class name if result null class name dmlite wicket security class simple name result get class class name catch exception e log error problem with view meta get signin page class class simple name e get message return result | gets a sign in page class |
private imodel create model model config model config throws dm exception imodel model null string model class name model config get model class string domain code get domain config get code model model meta create model domain code model class name if model null throw new dm exception model config get code domain model could not be created else models add model return model | creates a domain model |
private void create models throws dm exception for model config model config domain config get models config create model model config | creates domain models |
public string get code return domain config get code | gets the domain code |
public imodel get reference model string reference model code get domain config get reference model return get model reference model code | gets the reference model |
public void close models close | closes the domain |
public void add t entity oid index map put entity get oid entity | adds an entity |
public void remove t entity oid index map remove entity get oid | removes an entity |
public boolean is empty if size 0 return true else return false | checks if the index is empty |
public void empty oid index map new hash map oid t | empties the index |
public int size return oid index map size | returns the index size |
public t get entity oid oid return oid index map get oid | gets the entity given an oid |
public void add t entity id index map put entity get unique combination entity | adds an entity |
public void remove t entity id index map remove entity get unique combination | removes an entity |
public void add property string property code object property property map put property code property | adds a property to the combination |
public void empty id index map new hash map unique combination t | empties the index |
public int size return id index map size | returns the index size |
public void add neighbor string neighbor code ientity neighbor neighbor map put neighbor code neighbor | adds a neighbor to the combination |
public t get entity unique combination id return id index map get id | gets the entity given an id |
public boolean is empty return is property empty is neighbor empty | checks if the combination is empty |
public boolean is property empty boolean empty false if property size 0 empty true return empty | checks if a property part of the combination is empty |
public boolean is neighbor empty boolean empty false if neighbor size 0 empty true return empty | checks if a neighbor part of the combination is empty |
public void empty property map new hash map string object neighbor map new hash map string ientity | empties the combination |
public int size return property size neighbor size | returns the combination size number of properties and neighbors in the combination |
public int property size return property map size | returns the combination property size number of properties in the combination |
public int neighbor size return neighbor map size | returns the combination neighbor size number of neighbors in the combination |
public object get property string property code return property map get property code | gets the combination property given a property code |
public ientity get neighbor string neighbor code return ientity neighbor map get neighbor code | gets the combination neighbor given a neighbor code |
private string get domain directory path string domain package code domain config get package code string domain package code with slash text handler replace dot with slash domain package code string domain directory path code directory path separator domain package code with slash return domain directory path | gets the domain directory path |
public string to string string text list string property code list get property code list list string neighbor code list get neighbor code list for string property code property code list text text property code text text for string neighbor code neighbor code list text text neighbor code text text return text | provides the combination string |
private void create domain directories string domain directory path get domain directory path file domain directory new file domain directory path if domain directory exists domain directory mkdirs | creates directories for the domain where the code will be generated |
public boolean equals combination group list string property code list get property code list list string neighbor code list get neighbor code list for string property code property code list if get property property code equals group get property property code return false for string neighbor code neighbor code list if get neighbor neighbor code equals group get neighbor neighbor code return false return true | checks if two combination are equal |
public boolean equals object value if value instanceof combination combination group combination value return equals group return false | checks if two group objects are equal |
public list get property list list object properties new array list object for map entry e property map entry set object property e get value properties add property return properties | gets a list of group properties |
public void generate gen classes generate gen domain for model config model config domain config get models config domain model generator model generator new domain model generator model config code directory path model generator generate gen classes | generates domain generic class and model generic classes |
private string get model concept directory path string concept code string model package code model config get package code string model package code with slash text handler replace dot with slash model package code string concept code all lower letters text handler all letters to lower concept code string model concept directory path code directory path separator model package code with slash separator concept code all lower letters return model concept directory path | gets model concept directory path for a concept code |
private void set concept config throws config exception string concept code get class get simple name concept config get model get model config get concept config concept code if concept config null throw new config exception concept code entities code is not valid | sets the entities concept configuration |
private void create model directories for concept config concept config model config get concepts config string concept code concept config get code string model concept directory path get model concept directory path concept code file concept directory new file model concept directory path if concept directory exists concept directory mkdirs | creates directories for the model where the code will be generated |
private void create data directories string data directory path file data directory new file data directory path if data directory exists data directory mkdirs | creates the data directories |
private string get domain wicket app directory path string domain package code domain config get package code string domain wicket app package code domain package code wicket app string domain wicket app package code with slash text handler replace dot with slash domain wicket app package code string domain wicket app directory path code directory path separator domain wicket app package code with slash return domain wicket app directory path | gets domain wicket application directory path |
private void create domain wicket app directories string domain wicket app directory path get domain wicket app directory path file domain wicket app directory new file domain wicket app directory path if domain wicket app directory exists domain wicket app directory mkdirs | creates domain wicket application directories where the code will be |
private void create domain wicket model concept directories for model config model config domain config get models config for concept config concept config model config get concepts config string domain wicket model concept directory path get domain wicket model concept directory path concept config file concept directory new file domain wicket model concept directory path if concept directory exists concept directory mkdirs | creates domain wicket model concept directories where the code will be |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.