AgreementType Class

public final class AgreementType
extends ExpandableStringEnum<AgreementType>

The type of agreement.

Field Summary

Modifier and Type Field and Description
static final AgreementType ENTERPRISE_AGREEMENT

Static value EnterpriseAgreement for AgreementType.

static final AgreementType MICROSOFT_CUSTOMER_AGREEMENT

Static value MicrosoftCustomerAgreement for AgreementType.

static final AgreementType MICROSOFT_ONLINE_SERVICES_PROGRAM

Static value MicrosoftOnlineServicesProgram for AgreementType.

static final AgreementType MICROSOFT_PARTNER_AGREEMENT

Static value MicrosoftPartnerAgreement for AgreementType.

static final AgreementType OTHER

Static value Other for AgreementType.

Constructor Summary

Constructor Description
AgreementType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AgreementType value.

Method Summary

Modifier and Type Method and Description
static AgreementType fromString(String name)

Creates or finds a AgreementType from its string representation.

static Collection<AgreementType> values()

Gets known AgreementType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ENTERPRISE_AGREEMENT

public static final AgreementType ENTERPRISE_AGREEMENT

Static value EnterpriseAgreement for AgreementType.

MICROSOFT_CUSTOMER_AGREEMENT

public static final AgreementType MICROSOFT_CUSTOMER_AGREEMENT

Static value MicrosoftCustomerAgreement for AgreementType.

MICROSOFT_ONLINE_SERVICES_PROGRAM

public static final AgreementType MICROSOFT_ONLINE_SERVICES_PROGRAM

Static value MicrosoftOnlineServicesProgram for AgreementType.

MICROSOFT_PARTNER_AGREEMENT

public static final AgreementType MICROSOFT_PARTNER_AGREEMENT

Static value MicrosoftPartnerAgreement for AgreementType.

OTHER

public static final AgreementType OTHER

Static value Other for AgreementType.

Constructor Details

AgreementType

@Deprecated
public AgreementType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AgreementType value.

Method Details

fromString

public static AgreementType fromString(String name)

Creates or finds a AgreementType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AgreementType.

values

public static Collection<AgreementType> values()

Gets known AgreementType values.

Returns:

known AgreementType values.

Applies to