Satisfied Interfaces: Kind(Container)
, Member<Container,Value<Get,Set>>, Model, ValueModel<Get,Set>

An attribute model represents the model of a Ceylon attribute that you can read and inspect.

An attribute is a member value: it is declared on classes or interfaces.

This is both a ValueModel and a Member: you can invoke it with an instance value to bind it to that instance and obtain a Value:

    class Outer(){
        shared String foo = "Hello";
    }

    void test(){
        Attribute<Outer,String> attribute = `Outer.foo`;
        Value<String> boundAttribute = attribute(Outer());
        // This will print: Hello
        print(boundAttribute.get());
    }

Inherited Attributes
Attributes inherited from: Object hash, string
Attributes inherited from: Member<Container,Kind> declaringType
Attributes inherited from: Model container, declaration
Attributes inherited from: ValueModel<Get,Set> type

Methods
bind | Source Code shared formal Value<Get,Set> bind(Object container) Type-unsafe container binding, to be used when the container type is unknown until runtime. This has the same behaviour as invoking this `Member` directly, but exchanges compile-time type safety with runtime checks. Refined declaration: bind

Inherited Methods
Methods inherited from: Object equals
Methods inherited from: Member<Container,Kind> bind