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 null
public AstNode getOriginalAst()
Element
getOriginalAst
in interface Element
null
if unknownpublic List<ModelSymbol> getProjections()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.