public class ObjectNumber extends StringBasedErpType<ObjectNumber>
Modifier and Type | Class and Description |
---|---|
static class |
ObjectNumber.ObjectNumberType |
StringBasedErpType.CharCasing, StringBasedErpType.FillCharStrategy
Modifier and Type | Field and Description |
---|---|
static ObjectNumber |
EMPTY |
Constructor and Description |
---|
ObjectNumber(ControllingArea controllingArea,
CostCenter costCenter)
Constructs an object number for a controlling area and cost center.
|
ObjectNumber(ControllingArea controllingArea,
ProfitCenter profitCenter)
Constructs an object number for a profit center.
|
ObjectNumber(InternalOrder internalOrder)
Constructs an object number for an internal order.
|
ObjectNumber(String value) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<ControllingArea> |
getControllingArea() |
com.google.common.base.Optional<CostCenter> |
getCostCenter() |
StringBasedErpType.FillCharStrategy |
getFillCharStrategy() |
com.google.common.base.Optional<InternalOrder> |
getInternalOrder() |
int |
getMaxLength() |
ObjectNumber.ObjectNumberType |
getObjectNumberType() |
com.google.common.base.Optional<ProfitCenter> |
getProfitCenter() |
Class<ObjectNumber> |
getType() |
ErpTypeConverter<ObjectNumber> |
getTypeConverter() |
static ObjectNumber |
of(String value) |
static Set<ObjectNumber> |
toObjectNumbers(Collection<String> values) |
static Set<String> |
toStrings(Collection<? extends ObjectNumber> values) |
compareTo, equals, getFillChar, getKeyAsString, getValue, hashCode, isDefault, isEmpty, toString, toString, transformToString, transformToType
public static final ObjectNumber EMPTY
public ObjectNumber(String value) throws IllegalArgumentException
IllegalArgumentException
public ObjectNumber(ControllingArea controllingArea, CostCenter costCenter) throws IllegalArgumentException
IllegalArgumentException
public ObjectNumber(ControllingArea controllingArea, ProfitCenter profitCenter) throws IllegalArgumentException
IllegalArgumentException
public ObjectNumber(InternalOrder internalOrder) throws IllegalArgumentException
IllegalArgumentException
@Contract(value="null -> null") @Nullable public static ObjectNumber of(@Nullable String value) throws IllegalArgumentException
IllegalArgumentException
public com.google.common.base.Optional<ControllingArea> getControllingArea()
public com.google.common.base.Optional<CostCenter> getCostCenter()
public com.google.common.base.Optional<InternalOrder> getInternalOrder()
public com.google.common.base.Optional<ProfitCenter> getProfitCenter()
public ErpTypeConverter<ObjectNumber> getTypeConverter()
public Class<ObjectNumber> getType()
getType
in class StringBasedErpType<ObjectNumber>
public final int getMaxLength()
getMaxLength
in class StringBasedErpType<ObjectNumber>
public final StringBasedErpType.FillCharStrategy getFillCharStrategy()
getFillCharStrategy
in class StringBasedErpType<ObjectNumber>
public static Set<ObjectNumber> toObjectNumbers(Collection<String> values)
public static Set<String> toStrings(Collection<? extends ObjectNumber> values)
@Generated(value="lombok") public ObjectNumber.ObjectNumberType getObjectNumberType()
Copyright © 2017 SAP SE. All rights reserved.