public interface OwFormat
Base interface for format information for fields.
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 |
---|---|
boolean |
canValidate()
check if validation is implemented
|
Format |
getTextFormat(int iFieldProviderType_p)
get the optional formatter object for string representation,
according to the given context type
|
boolean |
ignoreDate()
check if the format should ignore date part of date values
|
boolean |
ignoreTime()
check if the format should ignore time part of date values
|
String |
validate(int iFieldProviderType_p,
Object object_p,
Locale locale_p)
validate the given value
|
boolean ignoreTime()
boolean ignoreDate()
Format getTextFormat(int iFieldProviderType_p)
iFieldProviderType_p
- int as defined in OwFieldProvider.TYPE_...boolean canValidate()
String validate(int iFieldProviderType_p, Object object_p, Locale locale_p) throws OwInvalidOperationException
iFieldProviderType_p
- int as defined in OwFieldProvider.TYPE_...object_p
- the value to validatelocale_p
- Locale for String localizeOwInvalidOperationException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.