public class Include extends PartOfQuery implements CanInclude
| Constructor and Description |
|---|
Include(PackageMetaData packageMetaData) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(String fieldName)
Add the fields _after_ adding the types, because the fields will be checked against the types, all types should have the given field.
|
void |
addInclude(Include newInclude) |
void |
addOutputType(org.eclipse.emf.ecore.EClass eClass) |
void |
addType(org.eclipse.emf.ecore.EClass eClass,
boolean includeAllSubTypes) |
Include |
createInclude() |
void |
dump(int indent,
StringBuilder sb) |
List<org.eclipse.emf.ecore.EReference> |
getFields() |
List<Include> |
getIncludes() |
List<org.eclipse.emf.ecore.EClass> |
getOutputTypes() |
Set<org.eclipse.emf.ecore.EClass> |
getTypes() |
boolean |
hasFields() |
boolean |
hasIncludes() |
boolean |
hasOutputTypes() |
boolean |
hasTypes() |
boolean |
isIncludeAllFields() |
indent, toStringpublic Include(PackageMetaData packageMetaData)
public void addField(String fieldName) throws QueryException
fieldName - QueryExceptionpublic void addInclude(Include newInclude)
addInclude in interface CanIncludepublic List<org.eclipse.emf.ecore.EReference> getFields()
public void addType(org.eclipse.emf.ecore.EClass eClass,
boolean includeAllSubTypes)
public void addOutputType(org.eclipse.emf.ecore.EClass eClass)
public List<org.eclipse.emf.ecore.EClass> getOutputTypes()
public boolean hasOutputTypes()
public Set<org.eclipse.emf.ecore.EClass> getTypes()
public boolean hasFields()
public boolean hasTypes()
public List<Include> getIncludes()
getIncludes in interface CanIncludepublic boolean hasIncludes()
hasIncludes in interface CanIncludepublic boolean isIncludeAllFields()
isIncludeAllFields in interface CanIncludepublic void dump(int indent,
StringBuilder sb)
public Include createInclude()
Copyright © 2016 OpenSource BIM. All rights reserved.