public NamedObject getNamedObject(RepositoryObject object) {
if (object instanceof ArtifactObject) {
return new NamedArtifactObject((ArtifactObject) object);
}
else if (object instanceof FeatureObject) {
return new NamedFeatureObject((FeatureObject) object);
}
else if (object instanceof DistributionObject) {
return new NamedDistributionObject((DistributionObject) object);
}
else if (object instanceof StatefulTargetObject) {