org.csapi.jr.se.fw
Class ServiceProfileDescription

java.lang.Object
  extended byorg.csapi.jr.se.fw.ServiceProfileDescription
All Implemented Interfaces:
java.io.Serializable

public final class ServiceProfileDescription
extends java.lang.Object
implements java.io.Serializable

This data type is a Sequence of Data Elements which describes a Service Profile. A service contract contains one or more Service Profiles, one for each SAG in the enterprise operator domain. A service profile is a restriction of the service contract in order to provide restricted service features to a SAG. Note 1: When the Framework returns a TpServiceProfileDescription to the enterprise operator, it should set the ServiceTypeName field to the same value as the corresponding field of the service contract; When the enterprise operator passes a TpServiceProfileDescription to the Framework, the Framework should ignore the value sent in the ServiceTypeName field to ensure interoperability; The enterprise operator should be required to set the ServiceTypeName field to the correct value when passing a TpServiceProfileDescription to the Framework. Note 2: The InUse flag indicates if the profile is currently in use by a service instance and will be returned in describeServiceProfile(). This flag will be ignored if it is passed in to createServiceProfile(). Note 3: The ServiceID field is used to restrict a service type-based service contract to a specific service. When the TpServiceProfileDescription is passed to the Framework by an enterprise operator, the Framework should ensure that the ServiceID field, if not empty, contains a service which is of the service type specified in the service contract. If the corresponding contract is for a service ID then the Framework should ignore this field. When a TpServiceProfileDescription is returned to the enterprise operator, the contents of this field will depend on the associated service contract. If the contract is for a service ID, then this field should be populated with the correct value. If the contract is for a service type, and the profile is restricted to a specific service ID then this field should be populated with the correct value. Otherwise, it should contain an empty string.

See Also:
Serialized Form

Constructor Summary
ServiceProfileDescription()
          Creates a new ServiceProfileDescription instance.
ServiceProfileDescription(java.lang.String _serviceContractID, java.lang.String _serviceStartDate, java.lang.String _serviceEndDate, java.lang.String _serviceTypeName, ServiceProperty[] _serviceSubscriptionProperties, boolean _inUse, java.lang.String _serviceID)
          Creates a new ServiceProfileDescription instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 boolean getInUse()
          This method returns a inUse.
 java.lang.String getServiceContractID()
          This method returns a serviceContractID.
 java.lang.String getServiceEndDate()
          This method returns a serviceEndDate.
 java.lang.String getServiceID()
          This method returns a serviceID.
 java.lang.String getServiceStartDate()
          This method returns a serviceStartDate.
 ServiceProperty[] getServiceSubscriptionProperties()
          This method returns a serviceSubscriptionProperties.
 java.lang.String getServiceTypeName()
          This method returns a serviceTypeName.
 int hashCode()
          Returns a hashcode value for the object.
 void setInUse(boolean inUse)
          This method sets a inUse.
 void setServiceContractID(java.lang.String serviceContractID)
          This method sets a serviceContractID.
 void setServiceEndDate(java.lang.String serviceEndDate)
          This method sets a serviceEndDate.
 void setServiceID(java.lang.String serviceID)
          This method sets a serviceID.
 void setServiceStartDate(java.lang.String serviceStartDate)
          This method sets a serviceStartDate.
 void setServiceSubscriptionProperties(ServiceProperty[] serviceSubscriptionProperties)
          This method sets a serviceSubscriptionProperties.
 void setServiceTypeName(java.lang.String serviceTypeName)
          This method sets a serviceTypeName.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProfileDescription

public ServiceProfileDescription()
Creates a new ServiceProfileDescription instance.


ServiceProfileDescription

public ServiceProfileDescription(java.lang.String _serviceContractID,
                                 java.lang.String _serviceStartDate,
                                 java.lang.String _serviceEndDate,
                                 java.lang.String _serviceTypeName,
                                 ServiceProperty[] _serviceSubscriptionProperties,
                                 boolean _inUse,
                                 java.lang.String _serviceID)
Creates a new ServiceProfileDescription instance.

Parameters:
_serviceContractID -
_serviceStartDate -
_serviceEndDate -
_serviceTypeName -
_serviceSubscriptionProperties -
_inUse -
_serviceID -
Method Detail

getServiceContractID

public java.lang.String getServiceContractID()
This method returns a serviceContractID.

Returns:
a String value

getServiceStartDate

public java.lang.String getServiceStartDate()
This method returns a serviceStartDate.

Returns:
a String value

getServiceEndDate

public java.lang.String getServiceEndDate()
This method returns a serviceEndDate.

Returns:
a String value

getServiceTypeName

public java.lang.String getServiceTypeName()
This method returns a serviceTypeName.

Returns:
a String value

getServiceSubscriptionProperties

public ServiceProperty[] getServiceSubscriptionProperties()
This method returns a serviceSubscriptionProperties.

Returns:
a org.csapi.jr.se.fw.ServiceProperty[] value

getInUse

public boolean getInUse()
This method returns a inUse.

Returns:
a boolean value

getServiceID

public java.lang.String getServiceID()
This method returns a serviceID.

Returns:
a String value

setServiceContractID

public void setServiceContractID(java.lang.String serviceContractID)
This method sets a serviceContractID.


setServiceStartDate

public void setServiceStartDate(java.lang.String serviceStartDate)
This method sets a serviceStartDate.


setServiceEndDate

public void setServiceEndDate(java.lang.String serviceEndDate)
This method sets a serviceEndDate.


setServiceTypeName

public void setServiceTypeName(java.lang.String serviceTypeName)
This method sets a serviceTypeName.


setServiceSubscriptionProperties

public void setServiceSubscriptionProperties(ServiceProperty[] serviceSubscriptionProperties)
This method sets a serviceSubscriptionProperties.


setInUse

public void setInUse(boolean inUse)
This method sets a inUse.


setServiceID

public void setServiceID(java.lang.String serviceID)
This method sets a serviceID.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.