public static class TypeDefinitionVariableArrayImpl.VariableArrayMethodBag extends MethodBag
| Constructor and Description |
|---|
VariableArrayMethodBag(Method getter,
Method[] candidateMethods,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(MetadataObject metadataObject,
Object value) |
void |
clear(MetadataObject metadataObject) |
int |
count(MetadataObject metadataObject) |
String |
getAppendName() |
Object |
getAt(MetadataObject metadataObject,
int index) |
String |
getClearName() |
String |
getCountName() |
String |
getGetAtName() |
String |
getInsertAtName() |
String |
getPrependName() |
String |
getRemoveAtName() |
String |
getSetterName() |
boolean |
hasSetter() |
void |
insertAt(MetadataObject metadataObject,
int index,
Object value) |
void |
prepend(MetadataObject metadataObject,
Object value) |
void |
removeAt(MetadataObject metadataObject,
int index) |
void |
set(MetadataObject metadataObject,
Object value) |
get, getGetterName, getPropertyNamepublic void append(MetadataObject metadataObject, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public void prepend(MetadataObject metadataObject, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public int count(MetadataObject metadataObject) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public void insertAt(MetadataObject metadataObject, int index, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public void removeAt(MetadataObject metadataObject, int index) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public Object getAt(MetadataObject metadataObject, int index) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public boolean hasSetter()
public void set(MetadataObject metadataObject, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public void clear(MetadataObject metadataObject) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public String getAppendName()
public String getClearName()
public String getCountName()
public String getPrependName()
public String getInsertAtName()
public String getRemoveAtName()
public String getGetAtName()
public String getSetterName()
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.