com.novell.admin.ns.fs.nw
Class DateNameStrategy

java.lang.Object
  |
  +--com.novell.admin.ns.ListStrategy
        |
        +--com.novell.admin.ns.fs.nw.DateNameStrategy
All Implemented Interfaces:
Strategy

public final class DateNameStrategy
extends ListStrategy

Final class that implements the strategy for the Date Name syntax.

This class is not public and no methods should be available to applications.


Fields inherited from class com.novell.admin.ns.ListStrategy
TOSTRING_LIMIT
 
Constructor Summary
DateNameStrategy()
           
 
Method Summary
 java.lang.Object createFacade(ValueComponent comp)
          Returns the facade for this syntax
 ValueComponent createValueComponent()
          Factory a new ValueComponent using default values.
 ValueComponent createValueComponent(java.lang.Object vectorObj)
          Factory a new ValueComponent using specified values.
 
Methods inherited from class com.novell.admin.ns.ListStrategy
canInsertComponent, canRemoveComponent, compare, equals, getAddableSyntaxes, isWithinBounds, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateNameStrategy

public DateNameStrategy()
Method Detail

createValueComponent

public ValueComponent createValueComponent()
Factory a new ValueComponent using default values.
Returns:
The new Date Name value.

createValueComponent

public ValueComponent createValueComponent(java.lang.Object vectorObj)
                                    throws ComponentCreationException
Factory a new ValueComponent using specified values.
Parameters:
vectorObj - Must be a Vector for the initial value.
Returns:
The new Date Name value.
Throws:
ComponentCreationException - if 'vectorObj' cannot be used as the initial value.

createFacade

public java.lang.Object createFacade(ValueComponent comp)
                              throws IncompatibleComponentException
Returns the facade for this syntax
Parameters:
comp - Must be a ValueList for the initial value.
Returns:
The new Date Name facade.
Throws:
IncompatibleComponentException - if the 'valueList' syntax is not SYN_DATE_NAME.
Overrides:
createFacade in class ListStrategy


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.