Access | Constructor and Description |
---|---|
pack-priv | DataDescriptor(PyType
actual Python type of descriptor descrtype, PyType to which the descriptor applies objclass, String of the attribute name)Create the common part of |
Modifier and Type | Method and Description |
---|---|
pack-priv abstract void | __delete__(Object
object on which the attribute is sought obj)The |
pack-priv abstract void | |
protected TypeError | Returns: exception to throwexpected kind of thing kind, Object provided to set this attribute in some object value)Create a |
protected TypeError | Returns: exception to throwexpected kind of thing attrClass, Object provided to set this attribute in some object value)Create a |
protected TypeError | Returns: exception to throwCreate a |
protected AttributeError | Returns: exception to throwCreate an |
protected AttributeError | Returns: exception to throwCreate an |
protected void | checkDelete(Object
target object (argument to obj)__delete__ )
|
protected void |
DataDescriptor | back to summary |
---|---|
pack-priv DataDescriptor(PyType descrtype, PyType objclass, String name) Create the common part of |
__delete__ | back to summary |
---|---|
pack-priv abstract void __delete__(Object obj) throws TypeError, Throwable The |
__set__ | back to summary |
---|---|
pack-priv abstract void __set__(Object obj, Object value) throws TypeError, Throwable The |
attrMustBe | back to summary |
---|---|
protected TypeError attrMustBe(String kind, Object value) Create a |
attrMustBe | back to summary |
---|---|
protected TypeError attrMustBe(Class<?> attrClass, Object value) Create a |
cannotDeleteAttr | back to summary |
---|---|
protected TypeError cannotDeleteAttr() Create a
|
cannotReadAttr | back to summary |
---|---|
protected AttributeError cannotReadAttr() Create an
|
cannotWriteAttr | back to summary |
---|---|
protected AttributeError cannotWriteAttr() Create an
|
checkDelete | back to summary |
---|---|
protected void checkDelete(Object obj) throws TypeError
|
checkSet | back to summary |
---|---|
protected void checkSet(Object obj) throws TypeError
|