Package net.n2oapp.framework.api.bean
Class SortedBean
- java.lang.Object
-
- net.n2oapp.framework.api.bean.SortedBean
-
- All Implemented Interfaces:
LocatedBean
public abstract class SortedBean extends java.lang.Object implements LocatedBean
- Since:
- 31.10.2014
- Author:
- iryabov
-
-
Constructor Summary
Constructors Constructor Description SortedBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatedBean[]getNextBeans()LocatedBean[]getPrevBeans()booleanisAfterAll()booleanisBeforeAll()voidsetAfterAll(boolean afterAll)voidsetBeforeAll(boolean beforeAll)voidsetNextBeans(LocatedBean[] nextBeans)voidsetPrevBeans(LocatedBean[] prevBeans)
-
-
-
Method Detail
-
getPrevBeans
public LocatedBean[] getPrevBeans()
- Specified by:
getPrevBeansin interfaceLocatedBean- Returns:
- получить список бинов послей которых должен идти текущий бин
-
setPrevBeans
public void setPrevBeans(LocatedBean[] prevBeans)
-
getNextBeans
public LocatedBean[] getNextBeans()
- Specified by:
getNextBeansin interfaceLocatedBean- Returns:
- список бинов до которых должен идти текущий бин
-
setNextBeans
public void setNextBeans(LocatedBean[] nextBeans)
-
isBeforeAll
public boolean isBeforeAll()
- Specified by:
isBeforeAllin interfaceLocatedBean- Returns:
- true - если бин должен находится до всех остальных (исключая getPrevBeans()-бины )
-
setBeforeAll
public void setBeforeAll(boolean beforeAll)
-
isAfterAll
public boolean isAfterAll()
- Specified by:
isAfterAllin interfaceLocatedBean- Returns:
- true - если бин должен находится после всех остальных (исключая getNextBeans()-бины )
-
setAfterAll
public void setAfterAll(boolean afterAll)
-
-