| org.openharmonise.rm.metadata.Profile org.openharmonise.rm.metadata.ProfileValue
ProfileValue | public class ProfileValue extends Profile (Code) | | This class represents a Profile which is a value of a profile
property instance. It extends Profile with a different
implementation of getAvailableProperties which is dependant
on the Property which this profile is the value for the
instance of.
author: Michael Bell version: $Revision: 1.2 $ |
ProfileValue | public ProfileValue()(Code) | | Constructs a ProfileValue
|
ProfileValue | public ProfileValue(AbstractDataStoreInterface dbintrf)(Code) | | Constructs a ProfileValue with an interface to the data store
Parameters: dbintrf - the data store interface |
ProfileValue | public ProfileValue(AbstractDataStoreInterface dbintrf, AbstractProfiledObject obj)(Code) | | Constructs a ProfileValue with an interface to the data store
and a reference to the profiled object which this value is associated to.
Parameters: dbintrf - the data store interface Parameters: obj - the profiled object |
ProfileValue | public ProfileValue(AbstractDataStoreInterface dbintrf, int nId, AbstractProfiledObject obj)(Code) | | Constructs an existing ProfileValue with an interface to the
data store, the id of the ProfileValue and a reference to the
profiled object which this value is associated to
Parameters: dbintrf - the data store interface Parameters: nId - the profile id Parameters: obj - the profiled object |
getProperty | public Property getProperty()(Code) | | Returns the Property for which this Profile
is a value for.
the Property for which this Profile is a value for |
setProperty | public void setProperty(Property prop)(Code) | | Sets the Property this Profile is a value for.
Parameters: prop - the Property |
Methods inherited from org.openharmonise.rm.metadata.Profile | protected void addColumnsToPopulateQuery(SelectStatement select, boolean bIsHist) throws DataStoreException(Code)(Java Doc) public void addPropertyInstance(AbstractPropertyInstance propInst) throws ProfileException(Code)(Java Doc) public Object clone()(Code)(Java Doc) public void delete() throws ProfileException(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public void fillProfileData() throws ProfileException(Code)(Java Doc) public List getAvailableProperties() throws DataAccessException(Code)(Java Doc) public static ColumnRef getColumnRef(AbstractProfiledObject profObj, String sColumn) throws DataStoreException(Code)(Java Doc) public static ColumnRef getColumnRef(String sClassname, String sColumn, boolean bHist) throws DataStoreException(Code)(Java Doc) public String getDBTableName()(Code)(Java Doc) public static String getDBTableName(AbstractProfiledObject profObj)(Code)(Java Doc) public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code)(Java Doc) public JoinConditions getInstanceJoinConditions(String sObjectTag, boolean bIsOuter) throws DataStoreException(Code)(Java Doc) public List getMatchingPropertyInstances(List condProps) throws DataAccessException(Code)(Java Doc) protected AbstractProfiledObject getProfiledObject()(Code)(Java Doc) public AbstractPropertyInstance getPropertyInstance(Property property) throws InvalidPropertyInstanceException, DataAccessException(Code)(Java Doc) public AbstractPropertyInstance getPropertyInstance(String sPropName) throws InvalidPropertyInstanceException, DataAccessException(Code)(Java Doc) public List getPropertyInstances() throws DataAccessException(Code)(Java Doc) public static String getTableName(String sClassname, boolean bHist) throws DataStoreException(Code)(Java Doc) public String getTagName()(Code)(Java Doc) public String getVersionComment() throws DataAccessException(Code)(Java Doc) public boolean hasProperty(Property prop) throws DataAccessException(Code)(Java Doc) public boolean isChanged() throws DataAccessException(Code)(Java Doc) public boolean isDefault() throws DataAccessException(Code)(Java Doc) public boolean isHistorical()(Code)(Java Doc) protected boolean isKeySupported()(Code)(Java Doc) public boolean isNew()(Code)(Java Doc) public boolean isValid(AbstractProfiledObject profObj) throws DataAccessException(Code)(Java Doc) public boolean isValidProperty(Property prop)(Code)(Java Doc) public boolean isValidPropertyInstance(AbstractPropertyInstance propInst) throws ProfileException(Code)(Java Doc) public void markAsNew() throws PopulateException(Code)(Java Doc) public boolean match(Profile prof) throws ProfileException(Code)(Java Doc) public boolean match(List propInstList) throws ProfileException(Code)(Java Doc) public void populate(Element xmlElement, State state) throws PopulateException(Code)(Java Doc) protected synchronized void populateChildObjectPropertyInstances(String sTableName) throws PopulateException(Code)(Java Doc) protected void populateFromDatabase() throws PopulateException(Code)(Java Doc) protected void populateFromResultSetRow(ResultSet rs, SelectStatement select) throws PopulateException(Code)(Java Doc) protected synchronized void populateGeneralPropertyInstances() throws PopulateException(Code)(Java Doc) protected synchronized void populateProfilePropertyInstances() throws PopulateException(Code)(Java Doc) protected void populatePropertyInstancesFromDatabase() throws PopulateException(Code)(Java Doc) public List processResultSet(CachedResultSet resultSet, SelectStatement select)(Code)(Java Doc) public List processResultSet(CachedResultSet resultSet, SelectStatement select, int limit)(Code)(Java Doc) public Element publish(Element topEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc) public void removeProperty(Property prop) throws ProfileException(Code)(Java Doc) public Profile save(AbstractProfiledObject proObj) throws ProfileException, EditException(Code)(Java Doc) public void setHistorical(boolean bIsHistorical)(Code)(Java Doc) public void setIsDefault(boolean bIsDefault)(Code)(Java Doc) public void setProfiledObject(AbstractProfiledObject obj)(Code)(Java Doc) public void setVersionComment(String sComment)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void update() throws PopulateException, EditException(Code)(Java Doc)
|
|
|