public class AttributeManager extends Object
Modifier and Type | Method and Description |
---|---|
static Property |
create(Property property,
String attributeName)
Creates a property in the database.
|
static Set<Attribute> |
findAll(Property property)
Returns the list of set attribute in the database.
|
static Attribute |
findAttribute(Property property,
String attributeName)
Finds a tag in the database by name.
|
static void |
remove(Property property,
String attributeName)
Remove a attribute (mark as Inactive).
|
public static Set<Attribute> findAll(Property property) throws OlogException
OlogException
- wrapping an SQLExceptionpublic static Attribute findAttribute(Property property, String attributeName) throws OlogException
OlogException
- wrapping an SQLExceptionpublic static Property create(Property property, String attributeName) throws OlogException
property
- propertyname
- attribute nameOlogException
- wrapping an SQLExceptionpublic static void remove(Property property, String attributeName) throws OlogException
name
- attribute nameOlogException
Copyright © 2010-2014 Michigan State University. All Rights Reserved.