| java.lang.Object de.fho.jump.pirol.utilities.apiTools.ToolToMakeYourLifeEasier de.fho.jump.pirol.utilities.apiTools.FeatureSchemaTools
FeatureSchemaTools | public class FeatureSchemaTools extends ToolToMakeYourLifeEasier (Code) | | Class for easier handling of featureSchema objects.
author: Ole Rahn author:
author: FH Osnabrück - University of Applied Sciences Osnabrück, author: Project: PIROL (2005), author: Subproject: Daten- und Wissensmanagement version: $Rev: 856 $ |
getAttributesInfoFor | public static AttributeInfo getAttributesInfoFor(FeatureSchema fs, int attrIndex)(Code) | | Extracts information on the attribute at the given index from the feature schema.
Parameters: fs - FeatureSchema to get information from Parameters: attrIndex - index of the attribute in the given featureSchema to get information about information about the attribute |
getAttributesInfoFor | public static AttributeInfo getAttributesInfoFor(FeatureSchema fs, String attrName)(Code) | | Extracts information on the attribute with the given name from the feature schema.
Parameters: fs - FeatureSchema to get information from Parameters: attrName - name of the attribute in the given featureSchema to get information about information about the attribute |
getAttributesWithTypes | public static AttributeInfo[] getAttributesWithTypes(FeatureSchema fs, AttributeType[] allowedTypes)(Code) | | Extracts information of all attributes with one of the given types from the given FeatureSchema
Parameters: fs - FeatureSchema to get information from Parameters: allowedTypes - array with AttributeTypes, that specify which attribute to get information about array with information on matching attributes |
isAttributeTypeAllowed | public static boolean isAttributeTypeAllowed(AttributeType at, AttributeType[] allowedTypes)(Code) | | Checks if the given attribute type is contained in the given array of allowed attribute types.
Parameters: at - attribute type to be checked Parameters: allowedTypes - array of allowed attribute types true if at is contained in allowedTypes , else false |
|
|