|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.complib.namecheck.NameChecker
This class provides syntactical checking of names of different types of elements in the SAP component model (like vendor-IDs and component names).
| Field Summary | |
static java.util.Set |
_reservedSegmentNames
|
static int |
ALIAS_MAX_LENGTH
|
static char |
CHAR_LABEL_SEPARATOR
|
static char |
CHAR_SEGMENT_SEPARATOR
|
static int |
COMPARTMENT_MAX_LENGTH
|
static java.lang.String |
COMPONENT_ROOT_FOLDER_NAME
|
static int |
DC_MAX_LENGTH
|
static int |
DEFCONF_MAX_LENGTH
|
static int |
PP_NAME_MAX_LENGTH
|
static int |
SC_MAX_LENGTH
|
static int |
VARIANT_MAX_LENGTH
|
static int |
VENDOR_MAX_LENGTH
|
| Constructor Summary | |
NameChecker()
|
|
| Method Summary | |
static void |
_checkComponentName(java.lang.String nameToBeChecked)
Checks the name of a component (name without vendor part). |
static void |
checkAliasName(java.lang.String nameToBeChecked)
Checks an SC Alias name. |
static void |
checkBuildVariantName(java.lang.String nameToBeChecked)
Checks the name of a build variant. |
static void |
checkCompartmentName(java.lang.String nameToBeChecked)
Checks the name of a compartment of a development configuration. |
static void |
checkComponentName(java.lang.String nameToBeChecked)
Checks the name of a development component (name without vendor part). |
static void |
checkDevelopmentConfigurationName(java.lang.String nameToBeChecked)
Checks the name of a development configuration. |
static void |
checkPublicPartName(java.lang.String nameToBeChecked)
Checks the name of a public part of a component. |
static void |
checkSoftwareComponentName(java.lang.String nameToBeChecked)
Checks the name of a software component (name without vendor part). |
static void |
checkVendorName(java.lang.String nameToBeChecked)
Checks the vendor part of a component's name Vendor names consist of multiple segments sepratated by '.' |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String COMPONENT_ROOT_FOLDER_NAME
public static int COMPARTMENT_MAX_LENGTH
public static int ALIAS_MAX_LENGTH
public static int SC_MAX_LENGTH
public static int DC_MAX_LENGTH
public static int VENDOR_MAX_LENGTH
public static int VARIANT_MAX_LENGTH
public static int DEFCONF_MAX_LENGTH
public static int PP_NAME_MAX_LENGTH
public static final char CHAR_SEGMENT_SEPARATOR
public static final char CHAR_LABEL_SEPARATOR
public static final java.util.Set _reservedSegmentNames
| Constructor Detail |
public NameChecker()
| Method Detail |
public static void checkComponentName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void checkSoftwareComponentName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void _checkComponentName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void checkVendorName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void checkPublicPartName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void checkCompartmentName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void checkAliasName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void checkBuildVariantName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
public static void checkDevelopmentConfigurationName(java.lang.String nameToBeChecked)
throws NameCheckException
nameToBeChecked - a String with the name that is to becheckedNameCheckException - if the name is not syntactically correct
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||