Protege 3.4

edu.stanford.smi.protege.server.metaproject.impl
Class PolicyControlledObjectImpl

java.lang.Object
  extended by edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceImpl
      extended by edu.stanford.smi.protege.server.metaproject.impl.PolicyControlledObjectImpl
All Implemented Interfaces:
Localizable, PolicyControlledObject, Serializable
Direct Known Subclasses:
ProjectInstanceImpl, ServerInstanceImpl

public class PolicyControlledObjectImpl
extends WrappedProtegeInstanceImpl
implements PolicyControlledObject, Serializable

See Also:
Serialized Form

Constructor Summary
protected PolicyControlledObjectImpl(MetaProjectImpl mp, Instance pi)
           
protected PolicyControlledObjectImpl(MetaProjectImpl mp, Instance pi, MetaProjectImpl.ClsEnum cls)
           
 
Method Summary
 void addAllowedGroupOperations(GroupOperation groupOperation)
           
 boolean equals(Object o)
           
 Set<GroupOperation> getAllowedGroupOperations()
           
 String getDescription()
           
 String getName()
           
 int hashCode()
           
 void setAllowedGroupOperations(Collection<GroupOperation> groupOperations)
           
 void setDescription(String description)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceImpl
addSlotValue, getCls, getMetaProject, getProtegeCollection, getProtegeInstance, getSlotValue, getSlotValues, localize, setSlotValue, setSlotValuesAsProtegeInstances
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protege.server.metaproject.PolicyControlledObject
getMetaProject, getProtegeInstance
 

Constructor Detail

PolicyControlledObjectImpl

protected PolicyControlledObjectImpl(MetaProjectImpl mp,
                                     Instance pi)

PolicyControlledObjectImpl

protected PolicyControlledObjectImpl(MetaProjectImpl mp,
                                     Instance pi,
                                     MetaProjectImpl.ClsEnum cls)
Method Detail

getName

public String getName()
Specified by:
getName in interface PolicyControlledObject

setName

public void setName(String name)
Specified by:
setName in interface PolicyControlledObject

getDescription

public String getDescription()
Specified by:
getDescription in interface PolicyControlledObject

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface PolicyControlledObject

setAllowedGroupOperations

public void setAllowedGroupOperations(Collection<GroupOperation> groupOperations)
Specified by:
setAllowedGroupOperations in interface PolicyControlledObject

addAllowedGroupOperations

public void addAllowedGroupOperations(GroupOperation groupOperation)
Specified by:
addAllowedGroupOperations in interface PolicyControlledObject

getAllowedGroupOperations

public Set<GroupOperation> getAllowedGroupOperations()
Specified by:
getAllowedGroupOperations in interface PolicyControlledObject

equals

public boolean equals(Object o)
Overrides:
equals in class WrappedProtegeInstanceImpl

hashCode

public int hashCode()
Overrides:
hashCode in class WrappedProtegeInstanceImpl

toString

public String toString()
Overrides:
toString in class WrappedProtegeInstanceImpl

Protege 3.4

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.