l.r.i.p.PollOptionNameField(ContentNameField) : class documentation

Part of lp.registry.interfaces.poll View In Hierarchy

Undocumented
Method _content_iface Return the content interface.
Method _getByName Return the content object with the given name.

Inherited from ContentNameField:

Method _getByAttribute Return the content object with the given attribute.
Method _validate Check that the given name is valid (and by delegation, unique).

Inherited from UniqueField (via ContentNameField):

Method unchanged Return True if the attribute on the object is unchanged.
Method _isValueTaken Returns true if and only if the specified value is already taken.
@property
def _content_iface(self):
Return the content interface.

Override this in subclasses.

def _getByName(self, name):
Return the content object with the given name.

Override this in subclasses.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.