public class ModelRepresentation extends AbstractRepresentation
Modifier and Type | Field and Description |
---|---|
protected String |
comment |
protected Long |
createdBy |
protected String |
createdByFullName |
protected String |
description |
protected Long |
id |
protected Date |
lastUpdated |
protected Long |
lastUpdatedBy |
protected String |
lastUpdatedByFullName |
protected boolean |
latestVersion |
protected Integer |
modelType |
protected String |
name |
protected String |
permission |
protected Long |
referenceId |
protected int |
version |
Constructor and Description |
---|
ModelRepresentation() |
ModelRepresentation(AbstractModel model) |
protected Long id
protected String name
protected String description
protected Long createdBy
protected String createdByFullName
protected Long lastUpdatedBy
protected String lastUpdatedByFullName
protected Date lastUpdated
protected boolean latestVersion
protected int version
protected String comment
protected Long referenceId
protected Integer modelType
protected String permission
public ModelRepresentation(AbstractModel model)
public ModelRepresentation()
public void initialize(AbstractModel model)
public Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public Date getLastUpdated()
public void setLastUpdated(Date lastUpdated)
public Long getCreatedBy()
public void setCreatedBy(Long createdBy)
public String getCreatedByFullName()
public void setCreatedByFullName(String createdByFullName)
public void setLatestVersion(boolean latestVersion)
public boolean isLatestVersion()
public int getVersion()
public void setVersion(int version)
public Long getLastUpdatedBy()
public void setLastUpdatedBy(Long lastUpdatedBy)
public String getLastUpdatedByFullName()
public void setLastUpdatedByFullName(String lastUpdatedByFullName)
public void setComment(String comment)
public String getComment()
public Long getReferenceId()
public void setReferenceId(Long referenceId)
public Integer getModelType()
public void setModelType(Integer modelType)
public String getPermission()
public void setPermission(String permission)
public void setSharePermission(SharePermission permission)
public Model toModel()
Copyright © 2014–2015 Alfresco. All rights reserved.