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

java.lang.Object
  |
  +--com.novell.admin.ns.ValueListFacade
        |
        +--com.novell.admin.ns.fs.nw.DateNameFacade

public final class DateNameFacade
extends ValueListFacade

Facade for File System Date Name syntax.


Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
DateNameFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(long date, java.lang.String name)
          File System Date Name ValueList factory.
 java.util.Date getDate()
          Retrieve the date from the valuelist.
 java.lang.String getName()
          Retrieve the name from the valuelist.
 void setDate(java.util.Date date)
          Set the date in the valuelist.
 void setName(java.lang.String name)
          Set the name in the valuelist.
 
Methods inherited from class com.novell.admin.ns.ValueListFacade
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateNameFacade

public DateNameFacade(ValueList comp)
               throws IncompatibleComponentException
Facade constructor
Parameters:
valueList - The ValueList which represents the Date Name data.
Throws:
IncompatibleComponentException - if the 'valueList' syntax is not NWFSSyntax.SYN_DATE_NAME.
Method Detail

createValueList

public static ValueList createValueList(long date,
                                        java.lang.String name)
                                 throws IncompatibleComponentException
File System Date Name ValueList factory.
Parameters:
date - Refer to Date Name Specification.
name - Refer to Date Name Specification.
Returns:
A new Date Name ValueList.

getDate

public java.util.Date getDate()
Retrieve the date from the valuelist.
Returns:
The Date Name date.

setDate

public void setDate(java.util.Date date)
Set the date in the valuelist.
Parameters:
date - The Date Name date.

getName

public java.lang.String getName()
Retrieve the name from the valuelist.
Returns:
The Date Name name.

setName

public void setName(java.lang.String name)
Set the name in the valuelist.
Parameters:
name - The Date Name name.


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