public abstract class UCMEntity extends ClearCase implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UCMEntity.Kind |
static class |
UCMEntity.LabelStatus |
Modifier and Type | Field and Description |
---|---|
protected Date |
date |
static DateFormat |
dateFormatter |
protected String |
fqname |
protected UCMEntity.Kind |
kind |
protected UCMEntity.LabelStatus |
labelStatus |
protected boolean |
loaded |
protected String |
mastership |
protected static Pattern |
pattern_std_fqname |
protected static Pattern |
pattern_tag_fqname |
protected static Pattern |
pattern_version_fqname |
protected PVob |
pvob |
protected static String |
rx_ccdef_allowed |
protected static String |
rx_ccdef_cc_name |
protected static String |
rx_ccdef_filename |
protected static String |
rx_ccdef_vob |
protected String |
shortname |
protected String |
user |
protected Vob |
vob |
rx_attr_find
Modifier | Constructor and Description |
---|---|
protected |
UCMEntity(String entitySelector) |
createSimpleAttributeType, getAttribute, getAttributes, getAttributes, getAttributes, setAttribute, setAttribute
protected static final String rx_ccdef_allowed
protected static final String rx_ccdef_vob
protected static final Pattern pattern_std_fqname
protected static final Pattern pattern_version_fqname
protected static final String rx_ccdef_filename
protected static final Pattern pattern_tag_fqname
protected static final String rx_ccdef_cc_name
protected UCMEntity.Kind kind
protected UCMEntity.LabelStatus labelStatus
protected Date date
public static final transient DateFormat dateFormatter
protected String fqname
protected String shortname
protected PVob pvob
protected Vob vob
protected String mastership
protected String user
protected boolean loaded
protected UCMEntity(String entitySelector)
protected static UCMEntity getEntity(Class<? extends UCMEntity> clazz, String fqname) throws UnableToInitializeEntityException
clazz
- The class of ClearCase object you want to gitfqname
- The fully qualified ClearCase object nameUnableToInitializeEntityException
- Thrown when ClearCase reports errorsprotected void initialize() throws UCMEntityNotInitializedException
PVob
.UCMEntityNotInitializedException
- Thrown when ClearCase reports errorspublic UCMEntity load() throws UnableToLoadEntityException, UCMEntityNotFoundException, UnableToInitializeEntityException
UCMEntity
UnableToLoadEntityException
- Thrown when ClearCase reports errorsUCMEntityNotFoundException
- Thrown when ClearCase reports errorsUnableToInitializeEntityException
- Thrown when ClearCase reports errorspublic void setLabelStatusFromString(String labelStatus)
public UCMEntity.LabelStatus getLabelStatusFromString(String ls)
public UCMEntity.LabelStatus getLabelStatus()
public static UCMEntity getEntity(String fqname) throws UnableToInitializeEntityException, UnknownEntityException
public Tag getTag(String tagType, String tagID) throws TagException, UnableToInitializeEntityException, UnableToCreateEntityException, UCMEntityNotFoundException, UnableToGetEntityException
public List<HyperLink> getHyperlinks(String hyperlinkType, File context) throws HyperlinkException, UnableToInitializeEntityException
public String getUser()
public void setUser(String user)
user
- public String getFullyQualifiedName()
getFullyQualifiedName
in class ClearCase
public String getFqname()
public void setFqname(String fqname)
public String getShortname()
public PVob getPVob()
public void setMastership(String mastership) throws CleartoolException
CleartoolException
public String getMastership()
public String stringify()
public static String getNamePart(String fqname) throws CleartoolException
CleartoolException
public String toString()
public Date getDate()
public void loadDate() throws CleartoolException
CleartoolException
public void setDate(Date date)
public void setDate(String date) throws ParseException
ParseException
public void setComment(String comment)
public String getComment()
public UCMEntity.Kind getKind()
public void setKind(UCMEntity.Kind kind)
public String getEntitySelector()
public void changeOwnership(String username, File viewContext) throws UnknownVobException, UnknownUserException, UCMEntityNotFoundException, CleartoolException
public static void changeOwnership(UCMEntity entity, String username, File viewContext) throws UnknownVobException, UnknownUserException, UCMEntityNotFoundException, CleartoolException
public boolean isLoaded()
protected void autoLoad() throws EntityNotLoadedException
EntityNotLoadedException
public boolean isCreated()
public void setCreated(boolean created)
public String getNormalizedName()
public String getObjectId() throws CleartoolException
CleartoolException
public static String getObjectId(String name) throws CleartoolException
CleartoolException
Copyright © 2016–2018. All rights reserved.