blob: b95e631c8911fa149d8c99f0a21c49d093a67057 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
/*******************************************************************************
* Copyright (c) 2006 Oracle Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Cameron Bateman/Oracle - initial API and implementation
*
********************************************************************************/
package org.eclipse.jst.jsf.context.symbol.internal.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.jst.jsf.context.symbol.IComponentSymbol;
import org.eclipse.jst.jsf.context.symbol.ITypeDescriptor;
import org.eclipse.jst.jsf.context.symbol.SymbolPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>IComponent Symbol</b></em>'.
* <!-- end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public class IComponentSymbolImpl extends IInstanceSymbolImpl implements IComponentSymbol {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final String copyright = "Copyright 2006 Oracle";
/**
* A human readable description of this symbol
*/
protected String _detailedDescription = null;
/**
* true if this component symbol is readable
*/
protected boolean _isReadable = READABLE_EDEFAULT;
/**
* true if this component symbol is writable
*/
protected boolean _isWritable = WRITABLE_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected IComponentSymbolImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* @return the static class
* <!-- end-user-doc -->
* @generated
*/
protected EClass eStaticClass() {
return SymbolPackage.Literals.ICOMPONENT_SYMBOL;
}
public String getDetailedDescription() {
return _detailedDescription;
}
public void setDetailedDescription(String detailedDescription) {
_detailedDescription = detailedDescription;
}
/**
* @generated NOT
*/
public ITypeDescriptor coerce(String typeSignature) {
// TODO:
return getTypeDescriptor();
}
/**
* @generated NOT
*/
public boolean supportsCoercion(String typeSignature) {
// TODO:
if (getTypeDescriptor().instanceOf(typeSignature))
{
return true;
}
return false;
}
} //IComponentSymbolImpl
|