Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.status;
 
 import java.util.List;
 
 
    private static final long serialVersionUID = 7842861515790025722L;
    private List<Stringlocales;
    private List<Serviceservices;

    

Parameters:
data the underlying dto
    public ShardStatus(final com.robrua.orianna.type.dto.status.ShardStatus data) {
        super(datacom.robrua.orianna.type.dto.status.ShardStatus.class);
    }

    
The hostname

Returns:
the hostname
    public String getHostname() {
        return super.getString(.getHostname());
    }

    
The locales

Returns:
the locales
    public List<StringgetLocales() {
        if( == null) {
             = new ArrayList<>();
            .addAll(.getLocales());
        }
        return Collections.unmodifiableList();
    }

    
The name

Returns:
the name
    public String getName() {
        return super.getString(.getName());
    }

    
The region tag

Returns:
the region tag
    public String getRegionTag() {
        return super.getString(.getRegion_tag());
    }

    
The services

Returns:
the services
    public List<ServicegetServices() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.status.Service service : .getServices()) {
                .add(new Service(service));
            }
        }
        return Collections.unmodifiableList();
    }

    
The slug

Returns:
the slug
    public String getSlug() {
        return super.getString(.getSlug());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "ShardStatus (" + getName() + ")";
    }
New to GrepCode? Check out our FAQ X