DSRG.VKB
Class Attribute_Component
java.lang.Object
|
+--DSRG.VKB.View_Component
|
+--DSRG.VKB.Attribute_Component
- public class Attribute_Component
- extends View_Component
- implements java.io.Serializable, java.lang.Cloneable
Represents the Attribute component in the View Definition. It's a part of
SELECT clause.
- See Also:
- Serialized Form
Field Summary |
(package private) Attribute |
attr
Reference of this Attribute. |
Method Summary |
java.lang.Object |
clone()
Clone the Attribute_Component. |
Attribute |
getAttribute()
Get Reference of Attribute stored in MKB. |
java.lang.String |
getName()
get Name. |
void |
setAttribute(Attribute ref)
Set Attribute of this component. |
java.lang.String |
toString()
Display this attribute component in following format:
["(" ("AD" = "TRUE" [ "AR" = "TRUE" ] | "AR" = "TRUE" ) ")"] |
Methods inherited from class java.lang.Object |
,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
attr
Attribute attr
- Reference of this Attribute. It stored in MKB.
Attribute_Component
public Attribute_Component()
getName
public java.lang.String getName()
- get Name.
It should return "A"
getAttribute
public Attribute getAttribute()
- Get Reference of Attribute stored in MKB.
setAttribute
public void setAttribute(Attribute ref)
- Set Attribute of this component.
toString
public java.lang.String toString()
- Display this attribute component in following format:
["(" ("AD" = "TRUE" [ "AR" = "TRUE" ] | "AR" = "TRUE" ) ")"]
- Overrides:
- toString in class java.lang.Object
clone
public java.lang.Object clone()
- Clone the Attribute_Component.
- Overrides:
- clone in class View_Component