litesoft
Diff Revisions
949
vs
950
for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/objects/UiCRUDpSet.java
|
@@ -1,26 +1,26 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.aokeyhole.objects; |
3 |
|
- |
|
4 |
|
- |
public class UiCRUDpSet extends AttributeSet { |
5 |
|
- |
protected UiCRUDpSet( AttributeSetBuilder pBuilder ) { |
6 |
|
- |
super( pBuilder ); |
7 |
|
- |
} |
8 |
|
- |
|
9 |
|
- |
public UiCRUDpSet( AttributeType pType, ASet pPersisted, ASet pVirtual ) { |
10 |
|
- |
this( new AttributeSetBuilder( pType ).persisted( pPersisted ).virtual( pVirtual ) ); |
11 |
|
- |
} |
12 |
|
- |
|
13 |
|
- |
public UiCRUDpSet( AttributeType pType, PropertyMetaData... pPersistedPMDs ) { |
14 |
|
- |
this( new AttributeSetBuilder( pType ).persisted( new ASet( pPersistedPMDs ) ) ); |
15 |
|
- |
} |
16 |
|
- |
|
17 |
|
- |
@Override |
18 |
|
- |
public boolean isUiCreatable() { |
19 |
|
- |
return true; |
20 |
|
- |
} |
21 |
|
- |
|
22 |
|
- |
@Override |
23 |
|
- |
public boolean isUiDeleteable() { |
24 |
|
- |
return true; |
25 |
|
- |
} |
26 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.aokeyhole.objects; |
|
3 |
+ |
|
|
4 |
+ |
public class UiCRUDpSet extends AttributeSet { |
|
5 |
+ |
protected UiCRUDpSet( AttributeSetBuilder pBuilder ) { |
|
6 |
+ |
super( pBuilder ); |
|
7 |
+ |
} |
|
8 |
+ |
|
|
9 |
+ |
public UiCRUDpSet( AttributeType pType, ASet pPersisted, ASet pVirtual ) { |
|
10 |
+ |
this( new AttributeSetBuilder( pType ).persisted( pPersisted ).virtual( pVirtual ) ); |
|
11 |
+ |
} |
|
12 |
+ |
|
|
13 |
+ |
public UiCRUDpSet( AttributeType pType, PropertyMetaData... pPersistedPMDs ) { |
|
14 |
+ |
this( new AttributeSetBuilder( pType ).persisted( new ASet( pPersistedPMDs ) ) ); |
|
15 |
+ |
} |
|
16 |
+ |
|
|
17 |
+ |
@Override |
|
18 |
+ |
public boolean isUiCreatable() { |
|
19 |
+ |
return true; |
|
20 |
+ |
} |
|
21 |
+ |
|
|
22 |
+ |
@Override |
|
23 |
+ |
public boolean isUiDeleteable() { |
|
24 |
+ |
return true; |
|
25 |
+ |
} |
|
26 |
+ |
} |