public class ListMergeDirective extends Object
| Constructor and Description |
|---|
ListMergeDirective() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdd() |
List<String> |
getAfterBeanNames() |
List<Class> |
getAfterClasses()
Add the element after all the elements which are assignable from the specified classes.
|
List<Object> |
getAfterValues() |
List<String> |
getBeforeBeanNames() |
List<Class> |
getBeforeClasses() |
List<Object> |
getBeforeValues() |
String |
getFieldName() |
String |
getListPropertyDescriptor() |
void |
setAdd(Object add) |
void |
setAfterBeanNames(List<String> after)
Add the element after the specified bean names (if the target list is a list of beans)
|
void |
setAfterClasses(List<Class> afterClasses) |
void |
setAfterValues(List<Object> afterValues)
Adds the element after the specified values (useful for merging into lists of atomic types)
|
void |
setBeforeBeanNames(List<String> beforeBeanNames)
Insert the element before the specified bean names (if the target list is a list of beans)
|
void |
setBeforeClasses(List<Class> beforeClasses)
Insert the element before all the elements which are assignable from the specified classes.
|
void |
setBeforeValues(List<Object> beforeValues)
Inserts the element before the specified values (useful for merging into lists of atomic types)
|
void |
setFieldName(String fieldName)
field name of list / map - for use with reflection
|
void |
setListPropertyDescriptor(String listPropertyDescriptor)
If the dependency bean is not the actual list, then use the property descriptor to identify the list property.
|
public Object getAdd()
public void setAdd(Object add)
add - The Bean or Element to Addpublic void setAfterBeanNames(List<String> after)
after - the after to setpublic void setBeforeBeanNames(List<String> beforeBeanNames)
beforeBeanNames - the beforeBeanNames to setpublic List<Class> getAfterClasses()
public void setAfterClasses(List<Class> afterClasses)
afterClasses - the afterClasses to setpublic void setBeforeClasses(List<Class> beforeClasses)
beforeClasses - the afterClasses to setpublic String getListPropertyDescriptor()
public void setListPropertyDescriptor(String listPropertyDescriptor)
public void setAfterValues(List<Object> afterValues)
afterValues - public void setBeforeValues(List<Object> beforeValues)
beforeValues - public String getFieldName()
public void setFieldName(String fieldName)
fieldName - Copyright © 2017 SAP SE. All Rights Reserved.