public abstract class OwIterableAttributeBag<T> extends Object implements OwIterable<T>
Abstract base class for OwIterable implementations.
It basically implements the inherited OwAttributeBag behavior.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isPage |
| Constructor and Description |
|---|
OwIterableAttributeBag() |
| Modifier and Type | Method and Description |
|---|---|
int |
attributecount()
get the number of attributes, or -1 if unknown
|
Object |
getAttribute(int iIndex_p)
get a object at the specified index or throws OwObjectNotFoundException
|
Object |
getAttribute(String strName_p)
get the attribute with the given name or throws OwObjectNotFoundException
|
Collection |
getAttributeNames()
get all attribute names in the bag
|
Object |
getSafeAttribute(String strName_p,
Object default_p)
get the attribute with the given name, returns default if not found.
|
boolean |
hasAttribute(String strName_p)
check if attribute exists
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHasMoreItems, getPage, getPage, getPageNumItems, getTotalNumItems, iterator, skipTopublic Object getAttribute(int iIndex_p) throws Exception
OwAttributeBaggetAttribute in interface OwAttributeBagiIndex_p - int indexExceptionpublic Object getAttribute(String strName_p) throws Exception
OwAttributeBaggetAttribute in interface OwAttributeBagExceptionpublic Object getSafeAttribute(String strName_p, Object default_p)
OwAttributeBaggetSafeAttribute in interface OwAttributeBagpublic boolean hasAttribute(String strName_p)
OwAttributeBaghasAttribute in interface OwAttributeBagpublic int attributecount()
OwAttributeBagattributecount in interface OwAttributeBagpublic Collection getAttributeNames()
OwAttributeBaggetAttributeNames in interface OwAttributeBagCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.