litesoft
@ 948
litesoft / trunk / GWT_Sandbox / Prioritizer / src / org / litesoft / prioritizer / client / boviews / RestrictedResourceViewGO.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
package org.litesoft.prioritizer.client.boviews; import org.litesoft.bo.views.*; public abstract class RestrictedResourceViewGO extends ViewObject<RestrictedResourceView> implements RestrictedResourceViewNames { @Deprecated protected RestrictedResourceViewGO() { super( RestrictedResourceViewMetaData.getInstance() ); } protected RestrictedResourceViewGO( boolean pNew, TransactionSet pTransactionSet ) { super( RestrictedResourceViewMetaData.getInstance(), pNew, pTransactionSet ); } private Long mID; @Override public Long getID() { return mID; } @Override public void setID( Long pID ) { VoAttribute<RestrictedResourceView> zAttribute = getVoAttribute( aID ); if ( verifyMutabilityOnChange( zAttribute, getID(), pID = zAttribute.normalize( pID, zAttribute.isRequired() ) ) ) { LLsetID( pID ); } } protected void LLsetID( Long pID ) { mID = pID; } private Boolean mActive; public Boolean getActive() { return mActive; } public void setActive( Boolean pActive ) { VoAttribute<RestrictedResourceView> zAttribute = getVoAttribute( aActive ); if ( verifyMutabilityOnChange( zAttribute, getActive(), pActive = zAttribute.normalize( pActive, zAttribute.isRequired() ) ) ) { LLsetActive( pActive ); } } protected void LLsetActive( Boolean pActive ) { mActive = pActive; } private String mDescription; public String getDescription() { return mDescription; } public void setDescription( String pDescription ) { VoAttribute<RestrictedResourceView> zAttribute = getVoAttribute( aDescription ); if ( verifyMutabilityOnChange( zAttribute, getDescription(), pDescription = zAttribute.normalize( pDescription, zAttribute.isRequired() ) ) ) { LLsetDescription( pDescription ); } } protected void LLsetDescription( String pDescription ) { mDescription = pDescription; } private String mName; public String getName() { return mName; } public void setName( String pName ) { VoAttribute<RestrictedResourceView> zAttribute = getVoAttribute( aName ); if ( verifyMutabilityOnChange( zAttribute, getName(), pName = zAttribute.normalize( pName, zAttribute.isRequired() ) ) ) { LLsetName( pName ); } } protected void LLsetName( String pName ) { mName = pName; } private Boolean mShowInactive; public Boolean getShowInactive() { return mShowInactive; } public void setShowInactive( Boolean pShowInactive ) { VoAttribute<RestrictedResourceView> zAttribute = getVoAttribute( aShowInactive ); if ( verifyMutabilityOnChange( zAttribute, getShowInactive(), pShowInactive = zAttribute.normalize( pShowInactive, zAttribute.isRequired() ) ) ) { LLsetShowInactive( pShowInactive ); } } protected void LLsetShowInactive( Boolean pShowInactive ) { mShowInactive = pShowInactive; } } |