com.cisco.provisioning.cpe.extensions.services
Interface File

All Superinterfaces:
GenericObject

public interface File
extends GenericObject

Logical layer class representing File.


Method Summary
 Iterator<ClassOfService> getAllClassesOfService()
          Returns all ClassOfServices.
 Blob getFileContents()
          Returns the File Contents for this object.
 com.cisco.bac.type.FileName getFileName()
          Returns the File Name for this object.
 FileType getFileType()
          Returns a reference to the related FileType object.
 Long getLength()
          Returns the Length for this object.
 Boolean getReadOnlyAccess()
          Returns the Read-Only File Access for this object.
 
Methods inherited from interface com.cisco.provisioning.cpe.extensions.services.GenericObject
equals, getDescription, getOriginal, getProperties, getProperty, getSyncRevNumber, hashCode, isDestroyed, isNew, toString
 

Method Detail

getFileName

com.cisco.bac.type.FileName getFileName()
Returns the File Name for this object.


getFileContents

Blob getFileContents()
Returns the File Contents for this object.


getReadOnlyAccess

Boolean getReadOnlyAccess()
Returns the Read-Only File Access for this object.


getLength

Long getLength()
Returns the Length for this object.


getAllClassesOfService

Iterator<ClassOfService> getAllClassesOfService()
Returns all ClassOfServices.

Returns:
an iterator of ClassOfService objects

getFileType

FileType getFileType()
Returns a reference to the related FileType object.

Returns:
the FileType reference or null if does not exist