public class ProjectionsTrait extends Object implements Trait<ProjectionsTrait>
| Constructor and Description |
|---|
ProjectionsTrait(AstNode originalAst,
List<ModelSymbol> projections)
Creates and returns a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
List<ModelSymbol> |
getProjections()
Returns owned projective models.
|
public ProjectionsTrait(AstNode originalAst, List<ModelSymbol> projections)
originalAst - the original AST, or null if this is an ad-hoc elementprojections - each projective model in referencesIllegalArgumentException - if some parameters were nullpublic AstNode getOriginalAst()
ElementgetOriginalAst in interface Elementnull if unknownpublic List<ModelSymbol> getProjections()
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.