public interface OwAttributeBag
Interface for attribute bags, which describe the attribute of an object.
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 | 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
|
Object getAttribute(int iIndex_p) throws Exception
iIndex_p
- int indexException
Object getAttribute(String strName_p) throws Exception
Exception
Object getSafeAttribute(String strName_p, Object default_p)
boolean hasAttribute(String strName_p)
int attributecount()
Collection getAttributeNames()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.