edu.stanford.smi.protege.server.metaproject.impl
Class WrappedProtegeInstanceWithPropsImpl
java.lang.Object
edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceImpl
edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceWithPropsImpl
- All Implemented Interfaces:
- Localizable, Serializable
- Direct Known Subclasses:
- PolicyControlledObjectImpl, UserImpl
public abstract class WrappedProtegeInstanceWithPropsImpl
- extends WrappedProtegeInstanceImpl
- See Also:
- Serialized Form
Methods inherited from class edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceImpl |
addSlotValue, equals, getCls, getMetaProject, getProtegeCollection, getProtegeInstance, getSlotValue, getSlotValues, hashCode, localize, removeSlotValue, setSlotValue, setSlotValuesAsProtegeInstances, toString |
WrappedProtegeInstanceWithPropsImpl
public WrappedProtegeInstanceWithPropsImpl(MetaProjectImpl mp,
Instance i,
MetaProjectImpl.ClsEnum cls)
getPropertyValues
public Set<PropertyValue> getPropertyValues()
setPropertyValues
public void setPropertyValues(Collection<PropertyValue> propertyValues)
setPropertyValue
public void setPropertyValue(String propertyName,
String propertyValue)
- Will replace any existing PropertyValue sharing the same propertyName with the PropertyValue passed in.
- Parameters:
propertyValue
-
addPropertyValue
public void addPropertyValue(PropertyValue propertyValue)
addPropertyValue
public void addPropertyValue(String prop,
String value)
removePropertyValue
public void removePropertyValue(PropertyValue propertyValue)
removePropertyValue
public void removePropertyValue(String prop,
String value)
getPropertyValuesAsString
public Collection<String> getPropertyValuesAsString(String prop)
getPropertyValue
public String getPropertyValue(String prop)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.