Package org.eclipse.xtext.xtype
Interface XImportDeclaration
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
XImportDeclarationImpl,XImportDeclarationImplCustom
public interface XImportDeclaration extends org.eclipse.emf.ecore.EObjectA representation of the model object 'XImport Declaration'.- Since:
- 2.7
- See Also:
XtypePackage.getXImportDeclaration()- Noextend:
- This interface is not intended to be extended by clients.
- Noimplement:
- This interface is not intended to be implemented by clients.
The following features are supported:
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetImportedName()java.lang.StringgetImportedNamespace()Returns the value of the 'Imported Namespace' attribute.org.eclipse.xtext.common.types.JvmDeclaredTypegetImportedType()Returns the value of the 'Imported Type' reference.java.lang.StringgetImportedTypeName()java.lang.StringgetMemberName()Returns the value of the 'Member Name' attribute.booleanisExtension()Returns the value of the 'Extension' attribute.booleanisStatic()Returns the value of the 'Static' attribute.booleanisWildcard()Returns the value of the 'Wildcard' attribute.voidsetExtension(boolean value)Sets the value of the 'Extension' attribute.voidsetImportedNamespace(java.lang.String value)Sets the value of the 'Imported Namespace' attribute.voidsetImportedType(org.eclipse.xtext.common.types.JvmDeclaredType value)Sets the value of the 'Imported Type' reference.voidsetMemberName(java.lang.String value)Sets the value of the 'Member Name' attribute.voidsetStatic(boolean value)Sets the value of the 'Static' attribute.voidsetWildcard(boolean value)Sets the value of the 'Wildcard' attribute.
-
-
-
Method Detail
-
isWildcard
boolean isWildcard()
Returns the value of the 'Wildcard' attribute.- Returns:
- the value of the 'Wildcard' attribute.
- See Also:
setWildcard(boolean),XtypePackage.getXImportDeclaration_Wildcard()- Model:
- Generated:
-
setWildcard
void setWildcard(boolean value)
Sets the value of the 'Wildcard' attribute.- Parameters:
value- the new value of the 'Wildcard' attribute.- See Also:
isWildcard()- Generated:
-
isExtension
boolean isExtension()
Returns the value of the 'Extension' attribute.- Returns:
- the value of the 'Extension' attribute.
- See Also:
setExtension(boolean),XtypePackage.getXImportDeclaration_Extension()- Model:
- Generated:
-
setExtension
void setExtension(boolean value)
Sets the value of the 'Extension' attribute.- Parameters:
value- the new value of the 'Extension' attribute.- See Also:
isExtension()- Generated:
-
isStatic
boolean isStatic()
Returns the value of the 'Static' attribute.- Returns:
- the value of the 'Static' attribute.
- See Also:
setStatic(boolean),XtypePackage.getXImportDeclaration_Static()- Model:
- Generated:
-
setStatic
void setStatic(boolean value)
Sets the value of the 'Static' attribute.- Parameters:
value- the new value of the 'Static' attribute.- See Also:
isStatic()- Generated:
-
getImportedType
org.eclipse.xtext.common.types.JvmDeclaredType getImportedType()
Returns the value of the 'Imported Type' reference.- Returns:
- the value of the 'Imported Type' reference.
- See Also:
setImportedType(JvmDeclaredType),XtypePackage.getXImportDeclaration_ImportedType()- Model:
- Generated:
-
setImportedType
void setImportedType(org.eclipse.xtext.common.types.JvmDeclaredType value)
Sets the value of the 'Imported Type' reference.- Parameters:
value- the new value of the 'Imported Type' reference.- See Also:
getImportedType()- Generated:
-
getMemberName
java.lang.String getMemberName()
Returns the value of the 'Member Name' attribute.- Returns:
- the value of the 'Member Name' attribute.
- See Also:
setMemberName(String),XtypePackage.getXImportDeclaration_MemberName()- Model:
- Generated:
-
setMemberName
void setMemberName(java.lang.String value)
Sets the value of the 'Member Name' attribute.- Parameters:
value- the new value of the 'Member Name' attribute.- See Also:
getMemberName()- Generated:
-
getImportedNamespace
java.lang.String getImportedNamespace()
Returns the value of the 'Imported Namespace' attribute.- Returns:
- the value of the 'Imported Namespace' attribute.
- See Also:
setImportedNamespace(String),XtypePackage.getXImportDeclaration_ImportedNamespace()- Model:
- Generated:
-
setImportedNamespace
void setImportedNamespace(java.lang.String value)
Sets the value of the 'Imported Namespace' attribute.- Parameters:
value- the new value of the 'Imported Namespace' attribute.- See Also:
getImportedNamespace()- Generated:
-
getImportedName
java.lang.String getImportedName()
Returns the name that has been imported.
For types and wildcard import declarations returns a qualified type name, e.g. java.lang.String.
For member import declarations returns a qualified member name, e.g. java.lang.String.valueOf.
- Model:
- kind="operation"
- Generated:
-
getImportedTypeName
java.lang.String getImportedTypeName()
- Model:
- kind="operation"
- Generated:
-
-