|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.force.sdk.codegen.filter.ObjectNameWithRefDataFilter
public class ObjectNameWithRefDataFilter
A DataFilter
which filters based on Force.com schema object (SObject)
names and follows object references to produce a closed set of schema objects.
This DataFilter
will filter in a Force.com schema object if and only if
at least one of the two following conditions are met:
ObjectNameWithRefDataFilter
stateObjectNameWithRefDataFilter
state which match no schema objects are
ignored.
Constructor Summary | |
---|---|
ObjectNameWithRefDataFilter(Set<String> objectNames)
Initializes a ObjectNameWithRefDataFilter with a set of
Force.com schema object names that are to be filtered
in along with their references. |
|
ObjectNameWithRefDataFilter(String... objectNames)
Initializes a ObjectNameWithRefDataFilter with a set of
Force.com schema object names that are to be filtered
in along with their references. |
Method Summary | |
---|---|
List<com.sforce.soap.partner.DescribeSObjectResult> |
filter(List<com.sforce.soap.partner.DescribeSObjectResult> dsrs)
Filters a list of Force.com DescribeSObjectResult objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectNameWithRefDataFilter(Set<String> objectNames)
ObjectNameWithRefDataFilter
with a set of
Force.com schema object names that are to be filtered
in along with their references.
objectNames
- a java.util.Set
of exact object
names that are to be filtered in along with
their referencespublic ObjectNameWithRefDataFilter(String... objectNames)
ObjectNameWithRefDataFilter
with a set of
Force.com schema object names that are to be filtered
in along with their references.
Note that duplicates within the given array with be eliminated.
objectNames
- an Array
of exact object
names that are to be filtered in along with
their referencesMethod Detail |
---|
public List<com.sforce.soap.partner.DescribeSObjectResult> filter(List<com.sforce.soap.partner.DescribeSObjectResult> dsrs)
DataFilter
DescribeSObjectResult
objects.
filter
in interface DataFilter
dsrs
- the list of Force.com DescribeSObjectResult
objects to be filtered
DescribeSObjectResult
objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |