added interface override annotations.
This commit is contained in:
parent
fc4c568b18
commit
5bbd8e4ef3
189 changed files with 1458 additions and 319 deletions
|
|
@ -36,6 +36,7 @@ public class VirtualVascBackend extends AbstractVascBackend<Serializable> {
|
|||
private String vascType = "entry";
|
||||
private String entryId = null;
|
||||
|
||||
@Override
|
||||
public VascBackendResult<Serializable> execute(VascBackendState state) throws VascBackendException {
|
||||
List<Serializable> result = new ArrayList<Serializable>(100);
|
||||
entryId = (String)state.getDataParameter("entry_id");
|
||||
|
|
@ -67,19 +68,22 @@ public class VirtualVascBackend extends AbstractVascBackend<Serializable> {
|
|||
|
||||
return new DefaultVascBackendResult<Serializable>(result);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void persist(Serializable object) throws VascBackendException {
|
||||
edit(object,false,true);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Serializable merge(Serializable object) throws VascBackendException {
|
||||
return edit(object,true,true);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void delete(Serializable object) throws VascBackendException {
|
||||
edit(object,true,false);
|
||||
}
|
||||
|
||||
|
||||
public Serializable edit(Serializable object,boolean removeReal,boolean addEdit) throws VascBackendException {
|
||||
|
||||
if (object instanceof VascEntry) {
|
||||
|
|
@ -129,11 +133,12 @@ public class VirtualVascBackend extends AbstractVascBackend<Serializable> {
|
|||
return object;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public VascEntryFieldValue provideVascEntryFieldValue() {
|
||||
return new BeanVascEntryFieldValue();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public VascEntryRecordCreator provideVascEntryRecordCreator() {
|
||||
if ("entry".equals(vascType)) {
|
||||
return new BeanVascEntryRecordCreator(DefaultVascEntry.class);
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ public class SchemaAutoEntryElementConfigurator extends AbstractElementConfigura
|
|||
/**
|
||||
* @see org.x4o.xml.element.AbstractElementConfigurator#doConfigEndTag(org.x4o.xml.element.Element)
|
||||
*/
|
||||
@Override
|
||||
public void doConfigElement(Element element) throws ElementConfiguratorException {
|
||||
|
||||
if (element.getElementObject()==null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue