ca.bc.gov.webade
Interface MinistryOrganizationInfo


public interface MinistryOrganizationInfo

Returns the ministry specific organization code value as one field. Classes implementing this interface should be able to be cast to their actual class, in order to provide any ministry-specific data.

Author:
jross

Method Summary
 java.lang.String getOrganizationCode()
          Returns the ministry-specific unique organization code as a String.
 int getOrganizationCodeAsInt()
          Returns the ministry-specific unique organization code as an int.
 long getOrganizationCodeAsLong()
          Returns the ministry-specific unique organization code as a long.
 

Method Detail

getOrganizationCode

public java.lang.String getOrganizationCode()
Returns the ministry-specific unique organization code as a String.

Returns:
The organization code.

getOrganizationCodeAsInt

public int getOrganizationCodeAsInt()
                             throws java.lang.UnsupportedOperationException
Returns the ministry-specific unique organization code as an int.

Returns:
The organization code.
Throws:
java.lang.UnsupportedOperationException - Thrown if this code cannot be expressed as a number.

getOrganizationCodeAsLong

public long getOrganizationCodeAsLong()
                               throws java.lang.UnsupportedOperationException
Returns the ministry-specific unique organization code as a long.

Returns:
The organization code.
Throws:
java.lang.UnsupportedOperationException - Thrown if this code cannot be expressed as a number.